cloudposse / cloudposse/terraform-aws-codebuild

S3 Bucket - acl - Argument is deprecated

Open
#120 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
HCL
Stars
123
Forks
130
PR merge metrics
No merged PRs in 30d

Description

Found a bug? Maybe our [Slack Community](https://slack.cloudposse.com) can help.

[![Slack Community](https://slack.cloudposse.com/badge.svg)](https://slack.cloudposse.com)

## 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:
1. 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"
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.