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_project_default_service_accounts" {
source="./modules/google-beta/r/google_project_default_service_accounts"# action - (required) is a type of stringaction=null# project - (required) is a type of stringproject=null# restore_policy - (optional) is a type of stringrestore_policy=nulltimeouts=[{
create =null
delete =null
read =null
}]
}
variable"action" {
description="(required) - The action to be performed in the default service accounts. Valid values are: DEPRIVILEGE, DELETE, DISABLE.\n\t\t\t\tNote that DEPRIVILEGE action will ignore the REVERT configuration in the restore_policy."type=string
}
variable"project" {
description="(required) - The project ID where service accounts are created."type=string
}
variable"restore_policy" {
description="(optional) - The action to be performed in the default service accounts on the resource destroy.\n\t\t\t\tValid values are NONE, REVERT and REVERT_AND_IGNORE_FAILURE. It is applied for any action but in the DEPRIVILEGE."type=stringdefault=null
}
variable"timeouts" {
description="nested block: NestingSingle, min items: 0, max items: 0"type=set(object(
{
create =string
delete =string
read =string
}
))
default=[]
}
resource"google_project_default_service_accounts""this" {
# action - (required) is a type of stringaction=var.action# project - (required) is a type of stringproject=var.project# restore_policy - (optional) is a type of stringrestore_policy=var.restore_policydynamic"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"]
# read - (optional) is a type of stringread=timeouts.value["read"]
}
}
}