aws_s3_bucket_inventory is missing some optional_fields #7951
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/s3
Issues and PRs that pertain to the s3 service.
Milestone
Community Note
Terraform Version
Terraform v0.11.11
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
the bucket inventory should have been created with all the optional fields
Actual Behavior
Error: aws_s3_bucket_inventory.testbucketinventory: expected optional_fields.4 to be one of [Size LastModifiedDate StorageClass ETag IsMultipartUploaded ReplicationStatus EncryptionStatus], got ObjectLockRetainUntilDate
Error: aws_s3_bucket_inventory.testbucketinventory: expected optional_fields.5 to be one of [Size LastModifiedDate StorageClass ETag IsMultipartUploaded ReplicationStatus EncryptionStatus], got ObjectLockMode
Error: aws_s3_bucket_inventory.testbucketinventory: expected optional_fields.6 to be one of [Size LastModifiedDate StorageClass ETag IsMultipartUploaded ReplicationStatus EncryptionStatus], got ObjectLockLegalHoldStatus
Steps to Reproduce
terraform plan
Important Factoids
References
The text was updated successfully, but these errors were encountered: