-
Notifications
You must be signed in to change notification settings - Fork 9.8k
F aws cloudfront trust store #45534
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?
F aws cloudfront trust store #45534
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
|
|
✅ Thank you for correcting the previously detected issues! The maintainers appreciate your efforts to make the review process as smooth as possible. |
% make testacc TESTARGS='-run=TestAccCloudFrontTrustStore_' PKG=cloudfront ACCTEST_PARALLELISM=2 make: Verifying source code with gofmt... ==> Checking that code complies with gofmt requirements... make: Running acceptance tests on branch: 🌿 HEAD 🌿... TF_ACC=1 go1.24.11 test ./internal/service/cloudfront/... -v -count 1 -parallel 2 -run=TestAccCloudFrontTrustStore_ -timeout 360m -vet=off 2025/12/11 14:39:59 Creating Terraform AWS Provider (SDKv2-style)... 2025/12/11 14:39:59 Initializing Terraform AWS Provider (SDKv2-style)... === RUN TestAccCloudFrontTrustStore_basic === PAUSE TestAccCloudFrontTrustStore_basic === RUN TestAccCloudFrontTrustStore_disappears === PAUSE TestAccCloudFrontTrustStore_disappears === RUN TestAccCloudFrontTrustStore_withS3ObjectVersion === PAUSE TestAccCloudFrontTrustStore_withS3ObjectVersion === RUN TestAccCloudFrontTrustStore_update === PAUSE TestAccCloudFrontTrustStore_update === CONT TestAccCloudFrontTrustStore_basic === CONT TestAccCloudFrontTrustStore_withS3ObjectVersion --- PASS: TestAccCloudFrontTrustStore_basic (21.68s) === CONT TestAccCloudFrontTrustStore_disappears --- PASS: TestAccCloudFrontTrustStore_withS3ObjectVersion (24.47s) === CONT TestAccCloudFrontTrustStore_update --- PASS: TestAccCloudFrontTrustStore_disappears (18.03s) --- PASS: TestAccCloudFrontTrustStore_update (37.12s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/cloudfront 67.423s
ewbankkit
left a comment
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 TESTARGS='-run=TestAccCloudFrontTrustStore_' PKG=cloudfront ACCTEST_PARALLELISM=2
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
make: Running acceptance tests on branch: 🌿 HEAD 🌿...
TF_ACC=1 go1.24.11 test ./internal/service/cloudfront/... -v -count 1 -parallel 2 -run=TestAccCloudFrontTrustStore_ -timeout 360m -vet=off
2025/12/11 15:02:09 Creating Terraform AWS Provider (SDKv2-style)...
2025/12/11 15:02:09 Initializing Terraform AWS Provider (SDKv2-style)...
=== RUN TestAccCloudFrontTrustStore_basic
=== PAUSE TestAccCloudFrontTrustStore_basic
=== RUN TestAccCloudFrontTrustStore_disappears
=== PAUSE TestAccCloudFrontTrustStore_disappears
=== RUN TestAccCloudFrontTrustStore_withS3ObjectVersion
=== PAUSE TestAccCloudFrontTrustStore_withS3ObjectVersion
=== RUN TestAccCloudFrontTrustStore_update
=== PAUSE TestAccCloudFrontTrustStore_update
=== RUN TestAccCloudFrontTrustStore_tags
=== PAUSE TestAccCloudFrontTrustStore_tags
=== CONT TestAccCloudFrontTrustStore_basic
=== CONT TestAccCloudFrontTrustStore_update
--- PASS: TestAccCloudFrontTrustStore_basic (21.85s)
=== CONT TestAccCloudFrontTrustStore_tags
--- PASS: TestAccCloudFrontTrustStore_update (38.12s)
=== CONT TestAccCloudFrontTrustStore_withS3ObjectVersion
--- PASS: TestAccCloudFrontTrustStore_withS3ObjectVersion (24.05s)
=== CONT TestAccCloudFrontTrustStore_disappears
--- PASS: TestAccCloudFrontTrustStore_tags (47.15s)
--- PASS: TestAccCloudFrontTrustStore_disappears (18.78s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/cloudfront 86.263s
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
Added a new resource
aws_cloudfront_trust_storeRelations
Partially addresses #45249
References
https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/cloudfront#Client.CreateTrustStore
https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/cloudfront#Client.UpdateTrustStore
Output from Acceptance Testing