Skip to content

Commit

Permalink
Fix LoggingOrganization test run to utilize correct configuration. (#…
Browse files Browse the repository at this point in the history
…4245)

* Fix LoggingOrganization test run to utilize correct configuration.

* adjust whitespace
  • Loading branch information
ScottSuarez authored Nov 18, 2020
1 parent 21374e6 commit 1f8851d
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -301,12 +301,10 @@ func testAccLoggingOrganizationSink_described(sinkName, bucketName, orgId string
return fmt.Sprintf(`
resource "google_logging_organization_sink" "described" {
name = "%s"
project = "%s"
org_id = "%s"
destination = "storage.googleapis.com/${google_storage_bucket.log-bucket.name}"
filter = "logName=\"projects/%s/logs/compute.googleapis.com%%2Factivity_log\" AND severity>=ERROR"
description = "this is a description for an organization level logging sink"
unique_writer_identity = false
}
resource "google_storage_bucket" "log-bucket" {
Expand All @@ -319,12 +317,10 @@ func testAccLoggingOrganizationSink_disabled(sinkName, bucketName, orgId string)
return fmt.Sprintf(`
resource "google_logging_organization_sink" "disabled" {
name = "%s"
project = "%s"
org_id = "%s"
destination = "storage.googleapis.com/${google_storage_bucket.log-bucket.name}"
filter = "logName=\"projects/%s/logs/compute.googleapis.com%%2Factivity_log\" AND severity>=ERROR"
disabled = true
unique_writer_identity = false
}
resource "google_storage_bucket" "log-bucket" {
Expand Down

0 comments on commit 1f8851d

Please sign in to comment.