aws-eks-base
aws-eks-base copied to clipboard
fix: Convert encryption to aws_s3_bucket_server_side_encryption_configuration resource for all buckets
Prerequisites
- [x] I am running the latest version
- [x] I checked the documentation and found no answer
- [x] I checked to make sure that this issue has not already been filed
Expected Behavior
Resource aws_s3_bucket_server_side_encryption_configuration is set for all buckets. No warnings
Current Behavior
during terraform apply I get this warning:
│ Warning: Argument is deprecated
│
│ with aws_s3_bucket.elastic_stack,
│ on eks-elk.tf line 797, in resource "aws_s3_bucket" "elastic_stack":
│ 797: resource "aws_s3_bucket" "elastic_stack" {
│
│ Use the aws_s3_bucket_server_side_encryption_configuration resource instead
│
│ (and 5 more similar warnings elsewhere)
Steps to Reproduce
- pull latest code
- prepare config
- run apply