-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[WIP] Consistent Resource Id Separators for resources #27885
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
brittandeyoung
wants to merge
55
commits into
hashicorp:main
Choose a base branch
from
brittandeyoung:td-consistent-id-separator
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[WIP] Consistent Resource Id Separators for resources #27885
brittandeyoung
wants to merge
55
commits into
hashicorp:main
from
brittandeyoung:td-consistent-id-separator
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Add a uniform `ResourceIdSeparator` constant * Add a ExpandResourceId and FlattenResourceId function
…ve to separator.ResourceIdSeparator
Community NoteVoting for Prioritization
For Submitters
|
This is Currently a work in progress, I am looking for feedback from the provider team on the structure of the shared |
Test outputs for the included example resources after the update:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
documentation
Introduces or discusses updates to documentation.
enhancement
Requests to existing resources that expand the functionality or scope.
external-maintainer
Contribution from a trusted external contributor.
flex
Pertains to FLatteners and EXpanders.
service/appconfig
Issues and PRs that pertain to the appconfig service.
service/appsync
Issues and PRs that pertain to the appsync service.
service/budgets
Issues and PRs that pertain to the budgets service.
service/cognitoidp
Issues and PRs that pertain to the cognitoidp service.
service/configservice
Issues and PRs that pertain to the configservice service.
service/dataexchange
Issues and PRs that pertain to the dataexchange service.
service/deploy
Issues and PRs that pertain to the deploy service.
service/dynamodb
Issues and PRs that pertain to the dynamodb service.
service/ec2outposts
Issues and PRs that pertain to the ec2outposts service.
service/ipam
Issues and PRs that pertain to the ipam service.
service/lightsail
Issues and PRs that pertain to the lightsail service.
service/vpc
Issues and PRs that pertain to the vpc service.
size/XL
Managed by automation to categorize the size of a PR.
sweeper
Pertains to changes to or issues with the sweeper.
tests
PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This will implement a standard Id separator for use when writing resources that AWS does not provide a unique id for. Helper functions for this standard Id separator will be included as well to make working with the standard Id simple.
Relations
Closes #27843
References
Output from Acceptance Testing