Skip to content

Commit 5229e19

Browse files
committed
fix test
1 parent 3792675 commit 5229e19

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

node/api/setup/setup_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ func TestTerraformRender(t *testing.T) {
2727
"tag1": "value1",
2828
"tag2": "value2",
2929
},
30+
NamingTemplate: "mantil-%s",
3031
}
3132
tf, err := terraform.Setup(data)
3233
require.NoError(t, err)

node/api/setup/testdata/create.tf

+3-2
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,20 @@ module "functions" {
3333
suffix = "abcdef"
3434
region = local.aws_region
3535
cli_role_arn = module.cli_role.arn
36+
naming_template = "mantil-%s"
3637
}
3738

3839

3940
module "cli_role" {
4041
source = "../../modules/cli-role"
41-
prefix = "mantil"
4242
suffix = "abcdef"
43+
naming_template = "mantil-%s"
4344
}
4445

4546
module "api" {
4647
source = "../../modules/api"
47-
prefix = "mantil"
4848
suffix = "abcdef"
49+
naming_template = "mantil-%s"
4950
functions_bucket = local.functions_bucket
5051
functions_s3_path = local.functions_s3_path
5152
integrations = [for f in module.functions.functions :

0 commit comments

Comments
 (0)