terraform-aws-cloudfront-s3-cdn
terraform-aws-cloudfront-s3-cdn copied to clipboard
Fixed Deprecated aws_s3_bucket Options
The following options were deprecated, and have either been updated, or replaced with the new necessary resources:
override_jsonreplaced withoverride_policy_documentsoptionserver_side_encryption_configurationreplaced withaws_s3_bucket_server_side_encryption_configurationresourceversioningreplaced withaws_s3_bucket_versioningresourcecors_rulereplaced withaws_s3_bucket_cors_configurationresourceaclreplaced withaws_s3_bucket_aclresource
The following options were deprecated, and have either been updated, or replaced with the new necessary resources:
override_jsonreplaced withoverride_policy_documentsoptionserver_side_encryption_configurationreplaced withaws_s3_bucket_server_side_encryption_configurationresourceversioningreplaced withaws_s3_bucket_versioningresourcecors_rulereplaced withaws_s3_bucket_cors_configurationresourceaclreplaced withaws_s3_bucket_aclresource
Hi guys @dotCipher and @joe-niland!
Any updates on this? We are still seeing the following deprecation warning:
│ Warning: Argument is deprecated
│ on .terraform/modules/cloudfront_s3_site/main.tf line 248, in resource "aws_s3_bucket" "origin":
│ 248: resource "aws_s3_bucket" "origin" {
│
│ Use the aws_s3_bucket_cors_configuration resource instead
Bump, checking in on the progress of this patch.
Bump, checking in on the progress of this patch.
Thank you! We are looking forward to this update.
Thanks @afrazkhan and sorry for the delay in reviewing.
There are some formatting issues. Could you please run the following to see the output?
make precommit/terraform
I believe they can be fixed by running terraform fmt -recursive
Thanks @afrazkhan for creating this pull request!
A maintainer will review your changes shortly. Please don't be discouraged if it takes a while.
While you wait, make sure to review our contributor guidelines.
[!TIP]
Need help or want to ask for a PR review to be expedited?
Join us on Slack in the
#pr-reviewschannel.
This pull request now has conflicts. Could you fix it @afrazkhan? 🙏
This PR has been closed due to inactivity and merge conflicts. Please resolve the conflicts and reopen if necessary.