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