Skip to content

Commit bdabf6d

Browse files
author
Ivan Vlasic
committed
fix setup tests
1 parent 4199352 commit bdabf6d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

api/setup/setup_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ func TestTerraformRender(t *testing.T) {
2424
FunctionsPath: "functions-path",
2525
Region: "aws-region",
2626
PublicKey: "public-key",
27+
ResourceSuffix: "abcdef",
2728
ResourceTags: map[string]string{
2829
"tag1": "value1",
2930
"tag2": "value2",

api/setup/testdata/create.tf

+3-4
Original file line numberDiff line numberDiff line change
@@ -52,19 +52,18 @@ module "functions" {
5252
functions = local.functions
5353
s3_bucket = local.functions_bucket
5454
prefix = "mantil"
55-
suffix = ""
55+
suffix = "abcdef"
5656
}
5757

5858
module "cli_role" {
5959
source = "../../modules/iam-role"
60-
prefix = "mantil"
61-
suffix = ""
60+
name = "mantil-cli-user-abcdef"
6261
}
6362

6463
module "api" {
6564
source = "../../modules/api"
6665
prefix = "mantil"
67-
suffix = ""
66+
suffix = "abcdef"
6867
functions_bucket = local.functions_bucket
6968
functions_s3_path = local.functions_s3_path
7069
integrations = [for f in module.functions.functions :

0 commit comments

Comments
 (0)