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

TF AWS provider 4.X compatibility #104

Open
ivanmartos opened this issue Feb 25, 2022 · 0 comments
Open

TF AWS provider 4.X compatibility #104

ivanmartos opened this issue Feb 25, 2022 · 0 comments
Labels
bug 🐛 An issue with the system

Comments

@ivanmartos
Copy link
Contributor

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

  1. Set aws provider version to
aws = {
      source  = "hashicorp/aws"
      version = "4.2.0"
    }
  1. 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An issue with the system
Projects
None yet
Development

No branches or pull requests

1 participant