Skip to content

Commit b52c5bd

Browse files
CCM-10922 Fix default stage name
1 parent 62ec78a commit b52c5bd

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

infrastructure/terraform/components/api/api_gateway_deployment_main.tf renamed to infrastructure/terraform/components/api/api_gateway_deployment.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
resource "aws_api_gateway_deployment" "main" {
22
rest_api_id = aws_api_gateway_rest_api.main.id
3-
description = "Suppliersv UI API deployment"
3+
description = "Suppliers UI API deployment"
44

55
triggers = {
66
openapi_hash = sha1(jsonencode(local.openapi_spec)),

infrastructure/terraform/components/api/api_gateway_rest_api_main.tf renamed to infrastructure/terraform/components/api/api_gateway_rest_api.tf

File renamed without changes.

infrastructure/terraform/components/api/api_gateway_stage_main.tf renamed to infrastructure/terraform/components/api/api_gateway_stage.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
resource "aws_api_gateway_stage" "main" {
2-
stage_name = "main"
2+
stage_name = "main" # This is the default stage name for API Gateway
33
description = "Templates API stage ${var.environment}"
44
rest_api_id = aws_api_gateway_rest_api.main.id
55
deployment_id = aws_api_gateway_deployment.main.id

0 commit comments

Comments
 (0)