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_storage_bucket_access_control" {
source="./modules/google-beta/r/google_storage_bucket_access_control"# bucket - (required) is a type of stringbucket=null# entity - (required) is a type of stringentity=null# role - (optional) is a type of stringrole=nulltimeouts=[{
create =null
delete =null
update =null
}]
}
variable"bucket" {
description="(required) - The name of the bucket."type=string
}
variable"entity" {
description="(required) - The entity holding the permission, in one of the following forms:\n user-userId\n user-email\n group-groupId\n group-email\n domain-domain\n project-team-projectId\n allUsers\n allAuthenticatedUsers\nExamples:\n The user liz@example.com would be user-liz@example.com.\n The group example@googlegroups.com would be\n group-example@googlegroups.com.\n To refer to all members of the Google Apps for Business domain\n example.com, the entity would be domain-example.com."type=string
}
variable"role" {
description="(optional) - The access permission for the entity. Possible values: [\"OWNER\", \"READER\", \"WRITER\"]"type=stringdefault=null
}
variable"timeouts" {
description="nested block: NestingSingle, min items: 0, max items: 0"type=set(object(
{
create =string
delete =string
update =string
}
))
default=[]
}
resource"google_storage_bucket_access_control""this" {
# bucket - (required) is a type of stringbucket=var.bucket# entity - (required) is a type of stringentity=var.entity# role - (optional) is a type of stringrole=var.roledynamic"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"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
}