-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Add resource identity to aws_lb_trust_store
#43186
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
base: main
Are you sure you want to change the base?
Conversation
Community GuidelinesThis comment is added to every new Pull Request to provide quick reference to how the Terraform AWS Provider is maintained. Please review the information below, and thank you for contributing to the community that keeps the provider thriving! 🚀 Voting for Prioritization
Pull Request Authors
|
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.
Looks good! 🚀
--- PASS: TestAccELBV2TrustStore_disappears (74.20s)
--- PASS: TestAccELBV2TrustStore_namePrefix (75.98s)
--- PASS: TestAccELBV2TrustStore_basic (80.23s)
--- PASS: TestAccELBV2TrustStore_tags_DefaultTags_emptyResourceTag (80.55s)
--- PASS: TestAccELBV2TrustStore_nameGenerated (83.69s)
--- PASS: TestAccELBV2TrustStore_tags_DefaultTags_nullOverlappingResourceTag (86.10s)
--- PASS: TestAccELBV2TrustStore_tags_ComputedTag_OnCreate (89.34s)
--- PASS: TestAccELBV2TrustStore_Identity_Basic (108.78s)
--- PASS: TestAccELBV2TrustStore_tags_DefaultTags_updateToProviderOnly (111.35s)
--- PASS: TestAccELBV2TrustStore_tags_EmptyTag_OnCreate (112.12s)
--- PASS: TestAccELBV2TrustStore_tags_ComputedTag_OnUpdate_Add (113.71s)
--- PASS: TestAccELBV2TrustStore_tags_IgnoreTags_Overlap_DefaultTag (122.80s)
--- PASS: TestAccELBV2TrustStore_tags_EmptyMap (128.10s)
--- PASS: TestAccELBV2TrustStore_tags_EmptyTag_OnUpdate_Add (132.95s)
--- PASS: TestAccELBV2TrustStore_tags_IgnoreTags_Overlap_ResourceTag (137.17s)
--- PASS: TestAccELBV2TrustStore_tags_DefaultTags_updateToResourceOnly (140.62s)
--- PASS: TestAccELBV2TrustStore_tags_ComputedTag_OnUpdate_Replace (142.07s)
--- PASS: TestAccELBV2TrustStore_tags_DefaultTags_overlapping (143.94s)
--- PASS: TestAccELBV2TrustStore_tags_null (72.86s)
--- PASS: TestAccELBV2TrustStore_tags_DefaultTags_nullNonOverlappingResourceTag (66.22s)
--- PASS: TestAccELBV2TrustStore_tags (160.17s)
--- PASS: TestAccELBV2TrustStore_tags_EmptyTag_OnUpdate_Replace (77.84s)
--- PASS: TestAccELBV2TrustStore_tags_AddOnUpdate (76.18s)
--- PASS: TestAccELBV2TrustStore_Identity_RegionOverride (93.00s)
--- PASS: TestAccELBV2TrustStore_tags_DefaultTags_emptyProviderOnlyTag (178.26s)
--- PASS: TestAccELBV2TrustStore_tags_DefaultTags_nonOverlapping (103.43s)
--- PASS: TestAccELBV2TrustStore_tags_DefaultTags_providerOnly (118.89s)
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.
This should have an ExistingResource
test such as the tests added in #43221. Unfortunately, they cannot be generated.
```console % make testacc PKG=elbv2 TESTS=TestAccELBV2TrustStore_Identity make: Verifying source code with gofmt... ==> Checking that code complies with gofmt requirements... TF_ACC=1 go1.24.5 test ./internal/service/elbv2/... -v -count 1 -parallel 20 -run='TestAccELBV2TrustStore_Identity' -timeout 360m -vet=off 2025/07/17 15:44:01 Creating Terraform AWS Provider (SDKv2-style)... 2025/07/17 15:44:01 Initializing Terraform AWS Provider (SDKv2-style)... --- PASS: TestAccELBV2TrustStore_Identity_RegionOverride (62.48s) --- PASS: TestAccELBV2TrustStore_Identity_Basic (69.48s) --- PASS: TestAccELBV2TrustStore_Identity_ExistingResource (81.12s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/elbv2 87.032s ```
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=elbv2 TESTS=TestAccELBV2TrustStore_Identity
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.24.5 test ./internal/service/elbv2/... -v -count 1 -parallel 20 -run='TestAccELBV2TrustStore_Identity' -timeout 360m -vet=off
2025/07/17 15:44:01 Creating Terraform AWS Provider (SDKv2-style)...
2025/07/17 15:44:01 Initializing Terraform AWS Provider (SDKv2-style)...
--- PASS: TestAccELBV2TrustStore_Identity_RegionOverride (62.48s)
--- PASS: TestAccELBV2TrustStore_Identity_Basic (69.48s)
--- PASS: TestAccELBV2TrustStore_Identity_ExistingResource (81.12s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/elbv2 87.032s
Rollback Plan
If a change needs to be reverted, we will publish an updated version of the library.
Changes to Security Controls
Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.
Description
Adds resource identity to
aws_lb_trust_store
. This is of typeArnIdentity
Relations
Relates #42984
References
Output from Acceptance Testing