Fix tests.
This commit is contained in:
parent
db6a4f9ac7
commit
f4c1fa6c20
|
@ -215,13 +215,13 @@ module "data-platform" {
|
|||
source = "./fabric/blueprints/data-solutions/data-platform-foundations"
|
||||
organization_domain = "example.com"
|
||||
project_config = {
|
||||
billing_account_id = var.billing_account_id
|
||||
billing_account_id = "123456-123456-123456"
|
||||
parent = "folders/12345678"
|
||||
}
|
||||
prefix = "myprefix"
|
||||
}
|
||||
|
||||
# tftest modules=43 resources=297
|
||||
# tftest modules=43 resources=264
|
||||
```
|
||||
|
||||
## Customizations
|
||||
|
|
|
@ -18,13 +18,15 @@
|
|||
|
||||
module "data-platform" {
|
||||
source = "../../../../blueprints/data-solutions/data-platform-foundations"
|
||||
billing_account_id = var.billing_account.id
|
||||
composer_config = var.composer_config
|
||||
data_force_destroy = var.data_force_destroy
|
||||
data_catalog_tags = var.data_catalog_tags
|
||||
folder_id = var.folder_ids.data-platform-dev
|
||||
groups = var.groups
|
||||
location = var.location
|
||||
project_config = {
|
||||
billing_account_id = var.billing_account.id
|
||||
parent = var.folder_ids.data-platform-dev
|
||||
}
|
||||
groups = var.groups
|
||||
location = var.location
|
||||
network_config = {
|
||||
host_project = var.host_project_ids.dev-spoke-0
|
||||
network_self_link = var.vpc_self_links.dev-spoke-0
|
||||
|
|
|
@ -17,7 +17,9 @@
|
|||
module "test" {
|
||||
source = "../../../../../blueprints/data-solutions/data-platform-foundations/"
|
||||
organization_domain = "example.com"
|
||||
billing_account_id = "123456-123456-123456"
|
||||
folder_id = "folders/12345678"
|
||||
prefix = "prefix"
|
||||
project_config = {
|
||||
billing_account_id = "123456-123456-123456"
|
||||
parent = "folders/12345678"
|
||||
}
|
||||
prefix = "prefix"
|
||||
}
|
||||
|
|
|
@ -23,4 +23,4 @@ def test_resources(e2e_plan_runner):
|
|||
modules, resources = e2e_plan_runner(FIXTURES_DIR)
|
||||
|
||||
assert len(modules) == 42
|
||||
assert len(resources) == 296
|
||||
assert len(resources) == 264
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
automation = {
|
||||
outputs_bucket = "test"
|
||||
}
|
||||
billing_account = {
|
||||
id = "012345-67890A-BCDEF0",
|
||||
}
|
||||
folder_ids = {
|
||||
data-platform-dev = "folders/12345678"
|
||||
project_config = {
|
||||
billing_account = {
|
||||
id = "012345-67890A-BCDEF0",
|
||||
},
|
||||
parent = {
|
||||
data-platform-dev = "folders/12345678"
|
||||
}
|
||||
}
|
||||
host_project_ids = {
|
||||
dev-spoke-0 = "fast-dev-net-spoke-0"
|
||||
|
|
Loading…
Reference in New Issue