Skip to content

Commit 8e88f6d

Browse files
Fix LoggingOrganization test run to utilize correct configuration. (#4245) (#2727)
* Fix LoggingOrganization test run to utilize correct configuration. * adjust whitespace Signed-off-by: Modular Magician <[email protected]>
1 parent cd0e9fa commit 8e88f6d

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.changelog/4245.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

google-beta/resource_logging_organization_sink_test.go

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -301,12 +301,10 @@ func testAccLoggingOrganizationSink_described(sinkName, bucketName, orgId string
301301
return fmt.Sprintf(`
302302
resource "google_logging_organization_sink" "described" {
303303
name = "%s"
304-
project = "%s"
304+
org_id = "%s"
305305
destination = "storage.googleapis.com/${google_storage_bucket.log-bucket.name}"
306306
filter = "logName=\"projects/%s/logs/compute.googleapis.com%%2Factivity_log\" AND severity>=ERROR"
307307
description = "this is a description for an organization level logging sink"
308-
309-
unique_writer_identity = false
310308
}
311309
312310
resource "google_storage_bucket" "log-bucket" {
@@ -319,12 +317,10 @@ func testAccLoggingOrganizationSink_disabled(sinkName, bucketName, orgId string)
319317
return fmt.Sprintf(`
320318
resource "google_logging_organization_sink" "disabled" {
321319
name = "%s"
322-
project = "%s"
320+
org_id = "%s"
323321
destination = "storage.googleapis.com/${google_storage_bucket.log-bucket.name}"
324322
filter = "logName=\"projects/%s/logs/compute.googleapis.com%%2Factivity_log\" AND severity>=ERROR"
325323
disabled = true
326-
327-
unique_writer_identity = false
328324
}
329325
330326
resource "google_storage_bucket" "log-bucket" {

0 commit comments

Comments
 (0)