Still cannot use aws_glue_security_configuration with SSE-S3 encryption because of empty KmsKeyArn #14086
Labels
bug
Addresses a defect in current functionality.
service/glue
Issues and PRs that pertain to the glue service.
Community Note
Terraform Version
Terraform v0.12.28
AWS provider v2.69.0
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
KmsKeyArn
keysActual Behavior
KmsKeyArn
keysSteps to Reproduce
terraform apply
aws glue get-security-configuration --name xyz
References
Related issue: #12879
The resolution of the above issue removed empty
KmsKeyArn
only fromS3Encryption
list elements, but this key (if empty) should be removed also from other sections.Workaround
aws glue create-security-configuration --name xyz --encryption-configuration '{"S3Encryption": [{"S3EncryptionMode": "SSE-S3"}], "CloudWatchEncryption": {"CloudWatchEncryptionMode": "DISABLED"}, "JobBookmarksEncryption": {"JobBookmarksEncryptionMode": "DISABLED"}}'
The text was updated successfully, but these errors were encountered: