Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

fix: use base58 alphabet for resource IDs #680

Merged
merged 3 commits into from
Dec 24, 2023
Merged

fix: use base58 alphabet for resource IDs #680

merged 3 commits into from
Dec 24, 2023

Conversation

leg100
Copy link
Owner

@leg100 leg100 commented Dec 24, 2023

Looks like TFC resource IDs, e.g. ws-3i96qoAvc9BevrhS, use only characters from the base58 alphabet, whereas OTF uses any alphanumeric characters, including non-base58 characters such as 0 and I.

This PR brings OTF into line with TFC. This is necessary because I've noticed that the tfe_workspace_settings resource in the tfe provider has started validating workspace IDs, checking that they are base58.

@leg100 leg100 changed the title fix: resource IDs use base58 alphabet fix: use base58 alphabet for resource IDs Dec 24, 2023
@leg100 leg100 merged commit 1e7d7a2 into master Dec 24, 2023
5 checks passed
@leg100 leg100 deleted the base58 branch December 24, 2023 14:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant