-
-
Notifications
You must be signed in to change notification settings - Fork 131
Open
Labels
bug🐛 An issue with the system🐛 An issue with the system
Description
Describe the Bug
Current state of module is not compatible with TF AWS Provider 4.0.0 due to breaking changes introduced
https://github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md#400-february-10-2022
Expected Behavior
Module should work in aws provider version 4.x.x
Steps to Reproduce
- Set aws provider version to
aws = {
source = "hashicorp/aws"
version = "4.2.0"
}
- Try to init and apply any example
Screenshots
╷
│ Error: Value for unconfigurable attribute
│
│ with module.test.aws_s3_bucket.cache_bucket,
│ on .terraform/main.tf line 7, in resource "aws_s3_bucket" "cache_bucket":
│ 7: resource "aws_s3_bucket" "cache_bucket" {
│
│ Can't configure a value for "server_side_encryption_configuration": its value will be decided automatically based on the result of applying this configuration.
╵
╷
│ Error: Value for unconfigurable attribute
│
│ with module.test.aws_s3_bucket.cache_bucket,
│ on .terraform/main.tf line 7, in resource "aws_s3_bucket" "cache_bucket":
│ 7: resource "aws_s3_bucket" "cache_bucket" {
│
│ Can't configure a value for "versioning": its value will be decided automatically based on the result of applying this configuration.
╵
╷
│ Error: Value for unconfigurable attribute
│
│ with module.test.aws_s3_bucket.cache_bucket,
│ on .terraform/main.tf line 7, in resource "aws_s3_bucket" "cache_bucket":
│ 7: resource "aws_s3_bucket" "cache_bucket" {
│
│ Can't configure a value for "logging": its value will be decided automatically based on the result of applying this configuration.
╵
╷
│ Error: Value for unconfigurable attribute
│
│ with module.test.aws_s3_bucket.cache_bucket,
│ on .terraform/main.tf line 13, in resource "aws_s3_bucket" "cache_bucket":
│ 13: acl = "private"
│
│ Can't configure a value for "acl": its value will be decided automatically based on the result of applying this configuration.
╵
Environment (please complete the following information):
terraform -v
Terraform v1.1.6
on darwin_arm64
+ provider registry.terraform.io/hashicorp/aws v4.2.0
+ provider registry.terraform.io/hashicorp/cloudinit v2.2.0
+ provider registry.terraform.io/hashicorp/external v2.2.0
+ provider registry.terraform.io/hashicorp/helm v2.4.1
+ provider registry.terraform.io/hashicorp/kubernetes v2.8.0
+ provider registry.terraform.io/hashicorp/local v2.1.0
+ provider registry.terraform.io/hashicorp/random v3.1.0
+ provider registry.terraform.io/terraform-aws-modules/http v2.4.1
mehowthe, dfreire, fhaussener, MarcelSerina, jorfermo and 10 more
Metadata
Metadata
Assignees
Labels
bug🐛 An issue with the system🐛 An issue with the system