terraform-aws-codebuild
terraform-aws-codebuild copied to clipboard
S3 Bucket - acl - Argument is deprecated
Found a bug? Maybe our Slack Community can help.
Describe the Bug
╷
│ Warning: Argument is deprecated
│
│ with module.build.aws_s3_bucket.cache_bucket,
│ on .terraform\modules\build\main.tf line 11, in resource "aws_s3_bucket" "cache_bucket":
│ 11: acl = "private"
│
│ Use the aws_s3_bucket_acl resource instead
╵
Expected Behavior
Running the module does not throw any warnings
Steps to Reproduce
Steps to reproduce the behavior:
- Run the module
Screenshots
If applicable, add screenshots or logs to help explain your problem.
Environment (please complete the following information):
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.16"
}
}
required_version = ">= 1.2.0"
}