-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Open
Labels
enhancementRequests to existing resources that expand the functionality or scope.Requests to existing resources that expand the functionality or scope.service/kmsIssues and PRs that pertain to the kms service.Issues and PRs that pertain to the kms service.
Description
Description
When we are using aws_kms_ciphertext resource to encrypt some data, it's generally not wanted that the plaintext data is stored in the state, which is currently the case as per documentation. Adding support for ephemeral "write-only" argument would solve this issue.
Affected Resource(s) or Data Source(s)
*aws_kms_ciphertext
Potential Terraform Configuration
variable "my_secret" {
type = string
ephemeral = true
}
resource "aws_kms_ciphertext" "my_encrypted_secret" {
key_id = aws_kms_key.my_kms_key.key_id
plaintext_wo = var.my_secret
}
References
No response
Would you like to implement the enhancement?
No
fedexman
Metadata
Metadata
Assignees
Labels
enhancementRequests to existing resources that expand the functionality or scope.Requests to existing resources that expand the functionality or scope.service/kmsIssues and PRs that pertain to the kms service.Issues and PRs that pertain to the kms service.