Skip to content

Commit 6ece28d

Browse files
committed
NDR-235 Only create SSM params for persistent workspaces
1 parent 5e4b42d commit 6ece28d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

infrastructure/ssm_parameters_externally_signed_mtls.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Creating Params to hold a copy of externally signed client cert and key
22
module "ssm_param_external_client_cert" {
3-
# count = var.externally_signed_certs ? 1 : 0
3+
count = local.is_sandbox ? 0 : 1
44
source = "./modules/ssm_parameter"
55
environment = var.environment
66
owner = var.owner
@@ -13,7 +13,7 @@ module "ssm_param_external_client_cert" {
1313
}
1414

1515
module "ssm_param_external_client_key" {
16-
# count = var.externally_signed_certs ? 1 : 0
16+
count = local.is_sandbox ? 0 : 1
1717
source = "./modules/ssm_parameter"
1818
environment = var.environment
1919
owner = var.owner

0 commit comments

Comments
 (0)