diff --git a/third_party/terraform/website/docs/r/logging_billing_account_sink.html.markdown b/third_party/terraform/website/docs/r/logging_billing_account_sink.html.markdown index d654997e6f95..8d600a65269b 100644 --- a/third_party/terraform/website/docs/r/logging_billing_account_sink.html.markdown +++ b/third_party/terraform/website/docs/r/logging_billing_account_sink.html.markdown @@ -51,11 +51,12 @@ The following arguments are supported: * `billing_account` - (Required) The billing account exported to the sink. * `destination` - (Required) The destination of the sink (or, in other words, where logs are written to). Can be a - Cloud Storage bucket, a PubSub topic, or a BigQuery dataset. Examples: + Cloud Storage bucket, a PubSub topic, a BigQuery dataset or a Cloud Logging bucket. Examples: ``` "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" +"logging.googleapis.com/projects/[PROJECT_ID]]/locations/global/buckets/[BUCKET_ID]" ``` The writer associated with the sink must have access to write to the above resource. diff --git a/third_party/terraform/website/docs/r/logging_folder_sink.html.markdown b/third_party/terraform/website/docs/r/logging_folder_sink.html.markdown index 788940b8a5c9..309a69478c17 100644 --- a/third_party/terraform/website/docs/r/logging_folder_sink.html.markdown +++ b/third_party/terraform/website/docs/r/logging_folder_sink.html.markdown @@ -27,7 +27,7 @@ resource "google_logging_folder_sink" "my-sink" { destination = "storage.googleapis.com/${google_storage_bucket.log-bucket.name}" # Log all WARN or higher severity messages relating to instances - filter = "resource.type = gce_instance AND severity >= WARN" + filter = "resource.type = gce_instance AND severity >= WARNING" } resource "google_storage_bucket" "log-bucket" { @@ -58,11 +58,12 @@ The following arguments are supported: accepted. * `destination` - (Required) The destination of the sink (or, in other words, where logs are written to). Can be a - Cloud Storage bucket, a PubSub topic, or a BigQuery dataset. Examples: + Cloud Storage bucket, a PubSub topic, a BigQuery dataset or a Cloud Logging bucket. Examples: ``` "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" +"logging.googleapis.com/projects/[PROJECT_ID]]/locations/global/buckets/[BUCKET_ID]" ``` The writer associated with the sink must have access to write to the above resource. diff --git a/third_party/terraform/website/docs/r/logging_organization_sink.html.markdown b/third_party/terraform/website/docs/r/logging_organization_sink.html.markdown index 75dab680c7e8..0dcaba95dd03 100644 --- a/third_party/terraform/website/docs/r/logging_organization_sink.html.markdown +++ b/third_party/terraform/website/docs/r/logging_organization_sink.html.markdown @@ -27,7 +27,7 @@ resource "google_logging_organization_sink" "my-sink" { destination = "storage.googleapis.com/${google_storage_bucket.log-bucket.name}" # Log all WARN or higher severity messages relating to instances - filter = "resource.type = gce_instance AND severity >= WARN" + filter = "resource.type = gce_instance AND severity >= WARNING" } resource "google_storage_bucket" "log-bucket" { @@ -50,11 +50,12 @@ The following arguments are supported: * `org_id` - (Required) The numeric ID of the organization to be exported to the sink. * `destination` - (Required) The destination of the sink (or, in other words, where logs are written to). Can be a - Cloud Storage bucket, a PubSub topic, or a BigQuery dataset. Examples: + Cloud Storage bucket, a PubSub topic, a BigQuery dataset or a Cloud Logging bucket. Examples: ``` "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" +"logging.googleapis.com/projects/[PROJECT_ID]]/locations/global/buckets/[BUCKET_ID]" ``` The writer associated with the sink must have access to write to the above resource. diff --git a/third_party/terraform/website/docs/r/logging_project_sink.html.markdown b/third_party/terraform/website/docs/r/logging_project_sink.html.markdown index f386d1861f46..73040c9282ed 100644 --- a/third_party/terraform/website/docs/r/logging_project_sink.html.markdown +++ b/third_party/terraform/website/docs/r/logging_project_sink.html.markdown @@ -29,7 +29,7 @@ resource "google_logging_project_sink" "my-sink" { destination = "pubsub.googleapis.com/projects/my-project/topics/instance-activity" # Log all WARN or higher severity messages relating to instances - filter = "resource.type = gce_instance AND severity >= WARN" + filter = "resource.type = gce_instance AND severity >= WARNING" # Use a unique writer (creates a unique service account used for writing) unique_writer_identity = true @@ -117,11 +117,12 @@ The following arguments are supported: * `name` - (Required) The name of the logging sink. * `destination` - (Required) The destination of the sink (or, in other words, where logs are written to). Can be a - Cloud Storage bucket, a PubSub topic, or a BigQuery dataset. Examples: + Cloud Storage bucket, a PubSub topic, a BigQuery dataset or a Cloud Logging bucket . Examples: ``` "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" +"logging.googleapis.com/projects/[PROJECT_ID]]/locations/global/buckets/[BUCKET_ID]" ``` The writer associated with the sink must have access to write to the above resource.