Skip to content

F aws cloudfront distribution connection function association#45847

Merged
ewbankkit merged 5 commits into
hashicorp:mainfrom
madhavvishnubhatta:f-aws_cloudfront_distribution_connection_function_association
Jan 7, 2026
Merged

F aws cloudfront distribution connection function association#45847
ewbankkit merged 5 commits into
hashicorp:mainfrom
madhavvishnubhatta:f-aws_cloudfront_distribution_connection_function_association

Conversation

@madhavvishnubhatta

@madhavvishnubhatta madhavvishnubhatta commented Jan 7, 2026

Copy link
Copy Markdown
Contributor

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

Add connection_function_association and viewer_mtls_config arguments to the resource aws_cloudfront_distribution

Relations

Closes #45249.

References

Output from Acceptance Testing

% make testacc PKG=cloudfront TESTS=TestAccCloudFrontDistribution_connectionFunctionAssociation                                              
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
make: Running acceptance tests on branch: 🌿 f-aws_cloudfront_distribution_connection_function_association 🌿...
TF_ACC=1 go1.25.5 test ./internal/service/cloudfront/... -v -count 1 -parallel 20 -run='TestAccCloudFrontDistribution_connectionFunctionAssociation'  -timeout 360m -vet=off
2026/01/07 12:48:10 Creating Terraform AWS Provider (SDKv2-style)...
2026/01/07 12:48:10 Initializing Terraform AWS Provider (SDKv2-style)...
=== RUN   TestAccCloudFrontDistribution_connectionFunctionAssociation
=== PAUSE TestAccCloudFrontDistribution_connectionFunctionAssociation
=== RUN   TestAccCloudFrontDistribution_connectionFunctionAssociationUpdate
=== PAUSE TestAccCloudFrontDistribution_connectionFunctionAssociationUpdate
=== RUN   TestAccCloudFrontDistribution_connectionFunctionAssociationRemove
=== PAUSE TestAccCloudFrontDistribution_connectionFunctionAssociationRemove
=== CONT  TestAccCloudFrontDistribution_connectionFunctionAssociation
=== CONT  TestAccCloudFrontDistribution_connectionFunctionAssociationRemove
=== CONT  TestAccCloudFrontDistribution_connectionFunctionAssociationUpdate
--- PASS: TestAccCloudFrontDistribution_connectionFunctionAssociation (263.17s)
--- PASS: TestAccCloudFrontDistribution_connectionFunctionAssociationUpdate (345.28s)
--- PASS: TestAccCloudFrontDistribution_connectionFunctionAssociationRemove (351.84s)
PASS
ok      github.com/hashicorp/terraform-provider-aws/internal/service/cloudfront 352.011s
% make testacc PKG=cloudfront TESTS=TestAccCloudFrontDistribution_viewerMtlsConfig 
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
make: Running acceptance tests on branch: 🌿 f-aws_cloudfront_distribution_connection_function_association 🌿...
TF_ACC=1 go1.25.5 test ./internal/service/cloudfront/... -v -count 1 -parallel 20 -run='TestAccCloudFrontDistribution_viewerMtlsConfig'  -timeout 360m -vet=off
2026/01/07 12:55:41 Creating Terraform AWS Provider (SDKv2-style)...
2026/01/07 12:55:41 Initializing Terraform AWS Provider (SDKv2-style)...
=== RUN   TestAccCloudFrontDistribution_viewerMtlsConfig
=== PAUSE TestAccCloudFrontDistribution_viewerMtlsConfig
=== CONT  TestAccCloudFrontDistribution_viewerMtlsConfig
--- PASS: TestAccCloudFrontDistribution_viewerMtlsConfig (424.25s)
PASS
ok      github.com/hashicorp/terraform-provider-aws/internal/service/cloudfront 424.403s

@github-actions

github-actions Bot commented Jan 7, 2026

Copy link
Copy Markdown
Contributor

Community Guidelines

This 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

  • Please vote on this Pull Request by adding a 👍 reaction to the original post to help the community and maintainers prioritize it.
  • Please see our prioritization guide for additional information on how the maintainers handle prioritization.
  • Please do not leave +1 or other comments that do not add relevant new information or questions; they generate extra noise for others following the Pull Request and do not help prioritize the request.

Pull Request Authors

  • Review the contribution guide relating to the type of change you are making to ensure all of the necessary steps have been taken.
  • Whether or not the branch has been rebased will not impact prioritization, but doing so is always a welcome surprise.

@github-actions github-actions Bot added needs-triage Waiting for first response or review from a maintainer. documentation Introduces or discusses updates to documentation. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. service/cloudfront Issues and PRs that pertain to the cloudfront service. size/XL Managed by automation to categorize the size of a PR. partner Contribution from a partner. labels Jan 7, 2026
@madhavvishnubhatta madhavvishnubhatta marked this pull request as ready for review January 7, 2026 13:09
@madhavvishnubhatta madhavvishnubhatta requested a review from a team as a code owner January 7, 2026 13:09
@justinretzolk justinretzolk added enhancement Requests to existing resources that expand the functionality or scope. and removed needs-triage Waiting for first response or review from a maintainer. labels Jan 7, 2026
@ewbankkit ewbankkit self-assigned this Jan 7, 2026
@github-actions github-actions Bot added the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Jan 7, 2026
@ewbankkit

This comment was marked as outdated.

@ewbankkit ewbankkit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀.

@ewbankkit

Copy link
Copy Markdown
Contributor

@madhavvishnubhatta Thanks for the contribution 🎉 👏.

@ewbankkit ewbankkit mentioned this pull request Jan 7, 2026
3 tasks
@ewbankkit ewbankkit merged commit 05dd931 into hashicorp:main Jan 7, 2026
55 checks passed
@github-actions

github-actions Bot commented Jan 7, 2026

Copy link
Copy Markdown
Contributor

Warning

This Issue has been closed, meaning that any additional comments are much easier for the maintainers to miss. Please assume that the maintainers will not see them.

Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed.

@github-actions github-actions Bot added this to the v6.28.0 milestone Jan 7, 2026
@github-actions

github-actions Bot commented Jan 8, 2026

Copy link
Copy Markdown
Contributor

This functionality has been released in v6.28.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!

@github-actions github-actions Bot removed the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Jan 8, 2026
@github-actions

github-actions Bot commented Feb 8, 2026

Copy link
Copy Markdown
Contributor

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Feb 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

documentation Introduces or discusses updates to documentation. enhancement Requests to existing resources that expand the functionality or scope. partner Contribution from a partner. service/cloudfront Issues and PRs that pertain to the cloudfront service. size/XL Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CloudFront viewer mTLS

3 participants