Terraform – Creating an AWS S3 Bucket Policy Error -MalformedPolicy: Unknown field version
I’m creating and working in a Terraform Project that creates an AWS S3 Bucket for use as a static website.
AWS S3 Terraform provider issues
I’m trying to create a few private S3 buckets but I keep getting this error
Unable to set aws_s3_bucket_lifecycle_configuration with prefix and object_size_greater_than filters
Unable to set delete lifecycle configuration policy on S3 bucket using terraform with two filters- object_size_greater_than = 0 and prefix = “demo/”
Refactoring aws_s3_bucket resource using aws_s3_bucket_* resources but having issues with the lifecycle_policy being destroyed
I am trying to refactor my aws_s3_bucket resource into the updated aws_s3_bucket_* resources to eliminate the deprecated arguments message when running Terraform. I added and imported the resources, but the original aws_s3_bucket resource is trying to destroy the lifecycle policy.