Merge pull request #1898 from GoogleCloudPlatform/wiktorn-fix-logging-bucket-tests
Use unique names for logging buckets in examples
This commit is contained in:
commit
e9d31f7e4a
|
@ -225,7 +225,7 @@ module "bucket" {
|
||||||
source = "./fabric/modules/logging-bucket"
|
source = "./fabric/modules/logging-bucket"
|
||||||
parent_type = "project"
|
parent_type = "project"
|
||||||
parent = var.project_id
|
parent = var.project_id
|
||||||
id = "bucket"
|
id = "${var.prefix}-bucket"
|
||||||
}
|
}
|
||||||
|
|
||||||
module "folder-sink" {
|
module "folder-sink" {
|
||||||
|
|
|
@ -291,7 +291,7 @@ module "bucket" {
|
||||||
source = "./fabric/modules/logging-bucket"
|
source = "./fabric/modules/logging-bucket"
|
||||||
parent_type = "project"
|
parent_type = "project"
|
||||||
parent = var.project_id
|
parent = var.project_id
|
||||||
id = "bucket"
|
id = "${var.prefix}-bucket"
|
||||||
}
|
}
|
||||||
|
|
||||||
module "org" {
|
module "org" {
|
||||||
|
|
|
@ -461,7 +461,7 @@ module "bucket" {
|
||||||
source = "./fabric/modules/logging-bucket"
|
source = "./fabric/modules/logging-bucket"
|
||||||
parent_type = "project"
|
parent_type = "project"
|
||||||
parent = var.project_id
|
parent = var.project_id
|
||||||
id = "bucket"
|
id = "${var.prefix}-bucket"
|
||||||
}
|
}
|
||||||
|
|
||||||
module "project-host" {
|
module "project-host" {
|
||||||
|
@ -822,7 +822,7 @@ module "bucket" {
|
||||||
source = "./fabric/modules/logging-bucket"
|
source = "./fabric/modules/logging-bucket"
|
||||||
parent_type = "project"
|
parent_type = "project"
|
||||||
parent = var.project_id
|
parent = var.project_id
|
||||||
id = "bucket"
|
id = "${var.prefix}-bucket"
|
||||||
}
|
}
|
||||||
# tftest modules=7 resources=53 inventory=data.yaml e2e
|
# tftest modules=7 resources=53 inventory=data.yaml e2e
|
||||||
```
|
```
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
values:
|
values:
|
||||||
module.bucket.google_logging_project_bucket_config.bucket[0]:
|
module.bucket.google_logging_project_bucket_config.bucket[0]:
|
||||||
bucket_id: bucket
|
bucket_id: test-bucket
|
||||||
project: project-id
|
project: project-id
|
||||||
module.create-project.google_project.project[0]:
|
module.create-project.google_project.project[0]:
|
||||||
billing_account: 123456-123456-123456
|
billing_account: 123456-123456-123456
|
||||||
|
|
Loading…
Reference in New Issue