Skip to content

Commit b18d028

Browse files
committed
NDR-213 Update names to new convention
1 parent 47c2739 commit b18d028

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

infrastructure/api_mtls.tf

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
# New API Gateway for mTLS
22
resource "aws_api_gateway_rest_api" "ndr_doc_store_api_mtls" {
3-
name = "${terraform.workspace}-DocStoreAPI-mTLS"
4-
description = "Docuemnt store API with mTLS enabled"
3+
name = "${terraform.workspace}_DocStoreApiMtls"
4+
description = "Document store API with mTLS enabled"
55

66
tags = {
7-
Name = "${terraform.workspace}-docstore-api-mtls"
8-
Owner = var.owner
9-
Environment = var.environment
10-
Workspace = terraform.workspace
7+
Name = "${terraform.workspace}_DocStoreApiMtls"
118
}
129
}
1310

@@ -120,7 +117,7 @@ resource "aws_api_gateway_gateway_response" "bad_gateway_response_mtls" {
120117

121118
module "mtls_api_endpoint_url_ssm_parameter" {
122119
source = "./modules/ssm_parameter"
123-
name = "api_endpoint_mtls"
120+
name = "${terraform.workspace}_ApiEndpointMtls"
124121
description = "mTLS api endpoint URL for ${var.environment}"
125122
resource_depends_on = aws_api_gateway_deployment.ndr_api_deploy_mtls
126123
value = "https://${aws_api_gateway_base_path_mapping.api_mapping_mtls.domain_name}"

0 commit comments

Comments
 (0)