Skip to content
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

feat: Replace hardcoded cloudfront canonical user ID in example #113

Merged
merged 4 commits into from
Oct 29, 2021

Conversation

lundbird
Copy link
Contributor

@lundbird lundbird commented Oct 29, 2021

Description

Uses the new data resource for aws_cloudfront_log_delivery_canonical_user_id that provides this field instead of using the hardcoded value.

Motivation and Context

Per this github issue: hashicorp/terraform-provider-aws#12512 which has now been solved we can use this resource to provide this ID.

Breaking Changes

Will need to update provider to v3.6 The most recent provider has this data block

How Has This Been Tested?

  • I have tested and validated these changes using one or more of the provided examples/* projects

I created this on my local by running terraform plan and apply and destroy to create the new bucket which was successfully created in AWS. To test cloudfront I have used this fork and have successfully received logs in s3.

Uses the new data resource for aws_cloudfront_log_delivery_canonical_user_id that provides this field instead of using the hardcoded value.
@lundbird lundbird changed the title Draft: Replace hardcoded cloudfront canonical user ID WIP: Replace hardcoded cloudfront canonical user ID Oct 29, 2021
@lundbird lundbird changed the title WIP: Replace hardcoded cloudfront canonical user ID Replace hardcoded cloudfront canonical user ID Oct 29, 2021
@lundbird lundbird changed the title Replace hardcoded cloudfront canonical user ID feat: Replace hardcoded cloudfront canonical user ID Oct 29, 2021
@lundbird lundbird changed the title feat: Replace hardcoded cloudfront canonical user ID feat: Replace hardcoded cloudfront canonical user ID in complete-example Oct 29, 2021
@antonbabenko antonbabenko changed the title feat: Replace hardcoded cloudfront canonical user ID in complete-example feat: Replace hardcoded cloudfront canonical user ID in example Oct 29, 2021
@antonbabenko antonbabenko merged commit 011384d into terraform-aws-modules:master Oct 29, 2021
@antonbabenko
Copy link
Member

Thanks @lundbird !

v2.10.0 has been just released.

@github-actions
Copy link

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 Oct 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants