Fix failing E2E tests for folders (#1884)
* Run tests requiring uniqueness on org level serially (organization tags, firewall policies) * make gcs bucket name globally unique --------- Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
This commit is contained in:
committed by
GitHub
parent
525fc91d5c
commit
55f308cbea
@@ -196,7 +196,7 @@ module "folder" {
|
||||
policy = module.firewall-policy.id
|
||||
}
|
||||
}
|
||||
# tftest modules=2 resources=3 e2e
|
||||
# tftest modules=2 resources=3 e2e serial
|
||||
```
|
||||
## Log Sinks
|
||||
|
||||
@@ -204,6 +204,7 @@ module "folder" {
|
||||
module "gcs" {
|
||||
source = "./fabric/modules/gcs"
|
||||
project_id = var.project_id
|
||||
prefix = var.prefix
|
||||
name = "gcs_sink"
|
||||
force_destroy = true
|
||||
}
|
||||
@@ -316,7 +317,7 @@ module "folder" {
|
||||
env-prod = module.org.tag_values["environment/prod"].id
|
||||
}
|
||||
}
|
||||
# tftest modules=2 resources=5 inventory=tags.yaml e2e
|
||||
# tftest modules=2 resources=5 inventory=tags.yaml e2e serial
|
||||
```
|
||||
|
||||
<!-- TFDOC OPTS files:1 -->
|
||||
|
||||
@@ -46,7 +46,7 @@ values:
|
||||
name: notice
|
||||
module.folder-sink.google_logging_folder_sink.sink["warnings"]:
|
||||
description: warnings (Terraform-managed).
|
||||
destination: storage.googleapis.com/gcs_sink
|
||||
destination: storage.googleapis.com/test-gcs_sink
|
||||
disabled: false
|
||||
exclusions: []
|
||||
filter: severity=WARNING
|
||||
@@ -60,7 +60,7 @@ values:
|
||||
condition: []
|
||||
role: roles/pubsub.publisher
|
||||
module.folder-sink.google_storage_bucket_iam_member.gcs-sinks-binding["warnings"]:
|
||||
bucket: gcs_sink
|
||||
bucket: test-gcs_sink
|
||||
condition: []
|
||||
role: roles/storage.objectCreator
|
||||
|
||||
|
||||
Reference in New Issue
Block a user