hashicorp / terraform-provider-google

Terraform Provider for Google Cloud Platform
https://registry.terraform.io/providers/hashicorp/google/latest/docs
Mozilla Public License 2.0
2.29k stars 1.72k forks source link

Add project log sink example to documentation #16463

Open nbrys opened 10 months ago

nbrys commented 10 months ago

Community Note

Description

Since April 2023 GCP support a log sink into a different project for logging_project_sink. According to https://github.com/hashicorp/terraform-provider-google/issues/13972 no validation is done on the input for the destination field, but the documentation about this resource should be updated

https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/logging_project_sink#destination

New or Affected Resource(s)

logging_project_sink

Potential Terraform Configuration

References

b/312432861

nbrys commented 10 months ago

Can be a Cloud Storage bucket, a PubSub topic, a BigQuery dataset or a Cloud Logging bucket

->

Can be a Cloud Storage bucket, a PubSub topic, a BigQuery dataset, another GCP Project or a Cloud Logging bucket

rileykarson commented 10 months ago

@roaks3 I'm assuming this didn't trigger the service label robot because the google_ prefix wasn't present on the resources- does that sound right?