RDS does not support Storage Encryption #2442
|
I was practicing terraform and came across an issue where it kept rebuilding my database. I searched the documentation for RDS and RDS Data but couldn't find anything on encryption. I would like to ask if this is a known caveat or is it planned or is encryption supposed to be disabled for local development? Thanks in advance! Example for creating instance with KMS And then verify Encryption Status with |
Replies: 1 comment 2 replies
|
This was a real Floci compatibility gap, and it explains Terraform repeatedly proposing replacement: older builds accepted the create inputs but It was fixed in #2617 and is included in Floci 2.0.0. Upgrade to: docker pull floci/floci:2.0.0Newly created instances now store and return One migration detail: an instance persisted by an older Floci version has no encryption fields, so 2.0.0 reads it with the old default ( You no longer need to disable the Terraform setting merely for API-state parity. Floci models the AWS API response so IaC converges, but that metadata should not be treated as encryption of the emulator's Docker/host storage; protect that storage separately if the local data is sensitive. |
This was a real Floci compatibility gap, and it explains Terraform repeatedly proposing replacement: older builds accepted the create inputs but
DescribeDBInstancesdid not returnStorageEncryptedorKmsKeyId, so Terraform kept detecting drift.It was fixed in #2617 and is included in Floci 2.0.0. Upgrade to:
Newly created instances now store and return
StorageEncryptedandKmsKeyId. The KMS identifier may be supplied as a key ID, key ARN, alias, or alias ARN and is returned as the resolved key ARN; specifying a KMS key requiresStorageEncrypted=true.One migration detail: an instance persisted by an older Floci version has no encryption fields, so 2.0.0 read…