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_logging_billing_account_bucket_config" {
source="./modules/google-beta/r/google_logging_billing_account_bucket_config"# billing_account - (required) is a type of stringbilling_account=null# bucket_id - (required) is a type of stringbucket_id=null# description - (optional) is a type of stringdescription=null# location - (required) is a type of stringlocation=null# retention_days - (optional) is a type of numberretention_days=null
}
variable"billing_account" {
description="(required) - The parent resource that contains the logging bucket."type=string
}
variable"bucket_id" {
description="(required) - The name of the logging bucket. Logging automatically creates two log buckets: _Required and _Default."type=string
}
variable"description" {
description="(optional) - An optional description for this bucket."type=stringdefault=null
}
variable"location" {
description="(required) - The location of the bucket."type=string
}
variable"retention_days" {
description="(optional) - Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used."type=numberdefault=null
}
resource"google_logging_billing_account_bucket_config""this" {
# billing_account - (required) is a type of stringbilling_account=var.billing_account# bucket_id - (required) is a type of stringbucket_id=var.bucket_id# description - (optional) is a type of stringdescription=var.description# location - (required) is a type of stringlocation=var.location# retention_days - (optional) is a type of numberretention_days=var.retention_days
}