Skip to content

Commit e3aa57c

Browse files
committed
init
1 parent 70ee486 commit e3aa57c

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed

infrastructure/terraform/components/app/module_backend_api.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ module "backend_api" {
44
source = "../../modules/backend-api"
55

66
project = var.project
7+
component = "${var.component}-api"
78
environment = var.environment
89
aws_account_id = var.aws_account_id
910
region = var.region

infrastructure/terraform/components/sandbox/module_backend_api.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ module "backend_api" {
22
source = "../../modules/backend-api"
33

44
project = var.project
5+
component = "${var.component}-api"
56
environment = var.environment
67
aws_account_id = var.aws_account_id
78
region = var.region

infrastructure/terraform/components/sandbox/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ variable "group" {
3838
variable "component" {
3939
type = string
4040
description = "The variable encapsulating the name of this component"
41-
default = "sandbox"
41+
default = "sbx"
4242
}
4343

4444
variable "default_tags" {

infrastructure/terraform/modules/backend-api/locals.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
locals {
2-
csi = "${var.csi}-${var.component}"
2+
csi = "${var.project}-${var.environment}-${var.component}"
33

44
lambdas_source_code_dir = abspath("${path.module}/../../../../lambdas")
55

infrastructure/terraform/modules/backend-api/variables.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ variable "group" {
3535
variable "component" {
3636
type = string
3737
description = "The variable encapsulating the name of this component"
38-
default = "api"
3938
}
4039

4140
##

0 commit comments

Comments
 (0)