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_usage_export_bucket" {
source="./modules/google-beta/r/google_project_usage_export_bucket"# bucket_name - (required) is a type of stringbucket_name=null# prefix - (optional) is a type of stringprefix=null# project - (optional) is a type of stringproject=nulltimeouts=[{
create =null
delete =null
}]
}
variable"bucket_name" {
description="(required) - The bucket to store reports in."type=string
}
variable"prefix" {
description="(optional) - A prefix for the reports, for instance, the project name."type=stringdefault=null
}
variable"project" {
description="(optional) - The project to set the export bucket on. If it is not provided, the provider project is used."type=stringdefault=null
}
variable"timeouts" {
description="nested block: NestingSingle, min items: 0, max items: 0"type=set(object(
{
create =string
delete =string
}
))
default=[]
}
resource"google_project_usage_export_bucket""this" {
# bucket_name - (required) is a type of stringbucket_name=var.bucket_name# prefix - (optional) is a type of stringprefix=var.prefix# project - (optional) is a type of stringproject=var.projectdynamic"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"]
}
}
}