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

Use newer TF resources for S3 buckets, rather than the now-deprecated resources #65

Merged
merged 2 commits into from
Oct 26, 2022

Conversation

GaryGSC
Copy link
Member

@GaryGSC GaryGSC commented Oct 26, 2022

This is part of an effort to clear up deprecation warnings (see byu-oit/hw-fargate-api#678).

This can be a semver-patch release (byu-oit/hw-fargate-api#688 (comment)), but the change will create some noise in Terraform plans when first introduced.

BTW, this module already requires AWS provider >= 3.75.2, so we're not breaking anybody by using the newer resources.

@github-actions
Copy link

Terraform Plan for ./examples/advanced:

will create 20 resources:

  • aws_cloudwatch_log_group - lambda_logs
  • aws_iam_policy - s3_access
  • aws_iam_role - test_lambda
  • aws_iam_role_policy - lambda_vpc_policy
  • aws_iam_role_policy - test_lambda
  • aws_iam_role_policy_attachment - s3_access
  • aws_lambda_function - test_lambda
  • aws_s3_bucket - postman_bucket
  • aws_s3_bucket - postman_bucket_logs
  • aws_s3_bucket_acl - postman_bucket_logs
  • aws_s3_bucket_lifecycle_configuration - postman_bucket
  • aws_s3_bucket_lifecycle_configuration - postman_bucket_logs
  • aws_s3_bucket_logging - postman_bucket
  • aws_s3_bucket_object - collections
  • aws_s3_bucket_object - environments
  • aws_s3_bucket_public_access_block - default
  • aws_s3_bucket_public_access_block - default_logs
  • aws_s3_bucket_server_side_encryption_configuration - postman_bucket
  • aws_s3_bucket_server_side_encryption_configuration - postman_bucket_logs
  • aws_security_group - lambda_vpc_sg

see details

@github-actions
Copy link

Terraform Plan for ./examples/simple:

will create 17 resources:

  • aws_cloudwatch_log_group - lambda_logs
  • aws_iam_policy - s3_access
  • aws_iam_role - test_lambda
  • aws_iam_role_policy - test_lambda
  • aws_iam_role_policy_attachment - s3_access
  • aws_lambda_function - test_lambda
  • aws_s3_bucket - postman_bucket
  • aws_s3_bucket - postman_bucket_logs
  • aws_s3_bucket_acl - postman_bucket_logs
  • aws_s3_bucket_lifecycle_configuration - postman_bucket
  • aws_s3_bucket_lifecycle_configuration - postman_bucket_logs
  • aws_s3_bucket_logging - postman_bucket
  • aws_s3_bucket_object - collections
  • aws_s3_bucket_public_access_block - default
  • aws_s3_bucket_public_access_block - default_logs
  • aws_s3_bucket_server_side_encryption_configuration - postman_bucket
  • aws_s3_bucket_server_side_encryption_configuration - postman_bucket_logs

see details

@joshgubler joshgubler merged commit 5eda650 into master Oct 26, 2022
@joshgubler joshgubler deleted the s3-via-tfedit branch October 26, 2022 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants