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
module"google_kms_secret_ciphertext" {
source="./modules/google-beta/r/google_kms_secret_ciphertext"# additional_authenticated_data - (optional) is a type of stringadditional_authenticated_data=null# crypto_key - (required) is a type of stringcrypto_key=null# plaintext - (required) is a type of stringplaintext=nulltimeouts=[{
create =null
delete =null
}]
}
variable"additional_authenticated_data" {
description="(optional) - The additional authenticated data used for integrity checks during encryption and decryption."type=stringdefault=null
}
variable"crypto_key" {
description="(required) - The full name of the CryptoKey that will be used to encrypt the provided plaintext.\nFormat: ''projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}/cryptoKeys/{{cryptoKey}}''"type=string
}
variable"plaintext" {
description="(required) - The plaintext to be encrypted."type=string
}
variable"timeouts" {
description="nested block: NestingSingle, min items: 0, max items: 0"type=set(object(
{
create =string
delete =string
}
))
default=[]
}
resource"google_kms_secret_ciphertext""this" {
# additional_authenticated_data - (optional) is a type of stringadditional_authenticated_data=var.additional_authenticated_data# crypto_key - (required) is a type of stringcrypto_key=var.crypto_key# plaintext - (required) is a type of stringplaintext=var.plaintextdynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
}
}
}