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_secret_manager_secret_version" {
source="./modules/google-beta/r/google_secret_manager_secret_version"# enabled - (optional) is a type of boolenabled=null# secret - (required) is a type of stringsecret=null# secret_data - (required) is a type of stringsecret_data=nulltimeouts=[{
create =null
delete =null
}]
}
variable"enabled" {
description="(optional) - The current state of the SecretVersion."type=booldefault=null
}
variable"secret" {
description="(required) - Secret Manager secret resource"type=string
}
variable"secret_data" {
description="(required) - The secret data. Must be no larger than 64KiB."type=string
}
variable"timeouts" {
description="nested block: NestingSingle, min items: 0, max items: 0"type=set(object(
{
create =string
delete =string
}
))
default=[]
}
resource"google_secret_manager_secret_version""this" {
# enabled - (optional) is a type of boolenabled=var.enabled# secret - (required) is a type of stringsecret=var.secret# secret_data - (required) is a type of stringsecret_data=var.secret_datadynamic"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"]
}
}
}