-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
New resource: aws_servicecatalogappregistry_attribute_group_association
#38290
New resource: aws_servicecatalogappregistry_attribute_group_association
#38290
Conversation
Community NoteVoting for Prioritization
For Submitters
|
aws_application_attribute_group_association
aws_servicecatalogappregistry_application_attribute_group_association
e685e66
to
30c605b
Compare
8220636
to
7e1d630
Compare
…on(doc): fix import section
…esource name Updates the resource name to `aws_servicecatalogappregistry_attribute_group_association` to correspond with the name of the AWS API, `AssociateAttributeGroup`.
…ttribute Removes the `id` attribute in favor of splitting the provided identifier on import into the requisite parts. Also refactors the attribute group association finder function and re-uses it across acceptance test helper functions. ```console % make testacc PKG=servicecatalogappregistry TESTS=TestAccServiceCatalogAppRegistryAttributeGroupAssociation_ make: Verifying source code with gofmt... ==> Checking that code complies with gofmt requirements... TF_ACC=1 go1.23.3 test ./internal/service/servicecatalogappregistry/... -v -count 1 -parallel 20 -run='TestAccServiceCatalogAppRegistryAttributeGroupAssociation_' -timeout 360m 2024/12/09 14:07:58 Initializing Terraform AWS Provider... --- PASS: TestAccServiceCatalogAppRegistryAttributeGroupAssociation_disappears (14.56s) --- PASS: TestAccServiceCatalogAppRegistryAttributeGroupAssociation_basic (15.44s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/servicecatalogappregistry 20.539s ```
…lf-contained test config
…mplify test config
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
% make testacc PKG=servicecatalogappregistry TESTS=TestAccServiceCatalogAppRegistryAttributeGroupAssociation_
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.3 test ./internal/service/servicecatalogappregistry/... -v -count 1 -parallel 20 -run='TestAccServiceCatalogAppRegistryAttributeGroupAssociation_' -timeout 360m
2024/12/09 14:37:32 Initializing Terraform AWS Provider...
--- PASS: TestAccServiceCatalogAppRegistryAttributeGroupAssociation_disappears (13.50s)
--- PASS: TestAccServiceCatalogAppRegistryAttributeGroupAssociation_basic (15.11s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/servicecatalogappregistry 20.294s
Thanks for your contribution, @drewtul! 👍 I changed the resource name to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
% make testacc PKG=servicecatalogappregistry TESTS=TestAccServiceCatalogAppRegistryAttributeGroupAssociation_
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.3 test ./internal/service/servicecatalogappregistry/... -v -count 1 -parallel 20 -run='TestAccServiceCatalogAppRegistryAttributeGroupAssociation_' -timeout 360m
2024/12/09 15:45:42 Initializing Terraform AWS Provider...
=== RUN TestAccServiceCatalogAppRegistryAttributeGroupAssociation_basic
=== PAUSE TestAccServiceCatalogAppRegistryAttributeGroupAssociation_basic
=== RUN TestAccServiceCatalogAppRegistryAttributeGroupAssociation_disappears
=== PAUSE TestAccServiceCatalogAppRegistryAttributeGroupAssociation_disappears
=== CONT TestAccServiceCatalogAppRegistryAttributeGroupAssociation_basic
=== CONT TestAccServiceCatalogAppRegistryAttributeGroupAssociation_disappears
--- PASS: TestAccServiceCatalogAppRegistryAttributeGroupAssociation_disappears (13.24s)
--- PASS: TestAccServiceCatalogAppRegistryAttributeGroupAssociation_basic (14.76s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/servicecatalogappregistry 18.947s
aws_servicecatalogappregistry_application_attribute_group_association
aws_servicecatalogappregistry_attribute_group_association
This functionality has been released in v5.81.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
Description
New resource to associate applications with attribute groups.
Relations
Depends on #38243
References
Output from Acceptance Testing