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_project_bucket_config" {
source="./modules/google-beta/r/google_logging_project_bucket_config"# 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# project - (required) is a type of stringproject=null# retention_days - (optional) is a type of numberretention_days=null
}
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"project" {
description="(required) - The parent project that contains the logging 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_project_bucket_config""this" {
# 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# project - (required) is a type of stringproject=var.project# retention_days - (optional) is a type of numberretention_days=var.retention_days
}