You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
radeksimko
changed the title
aws_s3_bucket: Error putting S3 lifecycle: MalformedXML: The XML you provided was not well-formed or did not validate against our published schema
aws_s3_bucket: Removing lifecycle_rule fails
Aug 11, 2016
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked and limited conversation to collaborators
Apr 22, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
Terraform POSTs the "" xml when a lifecycle policy is removed - this is wrong according to http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlifecycle.html which states that there are required xml tags/fields.
Terraform Version
terraform -v
Terraform v0.6.16
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/asicoe/034a1fc105bd958fa1a8eb07e6216440
Expected Behavior
Terraform should have had a successful run and change the S3 bucket configuration by removing the lifecycle policy.
Actual Behavior
Terraform failed the run and did not remove the lifecycle policy from the S3 bucket.
Steps to Reproduce
terraform apply
for the first terraform hcl above.terraform apply
for the second terraform hcl above.The text was updated successfully, but these errors were encountered: