UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 471f7971 authored by Ismail Ahmad's avatar Ismail Ahmad
Browse files

refactor: tf fmt

parent 6356ef3d
No related branches found
No related tags found
1 merge request!153BB-1271 Fix TF Workspace Deletion
Pipeline #134872 passed
......@@ -14,7 +14,7 @@ module "ci" {
# Set by CI - "TF_VAR_env=$(echo $CI_COMMIT_REF_SLUG | cut -c 1-7)-$(echo $CI_COMMIT_SHA | cut -c 1-7)"
env = var.env
# Set by CI - "TF_VAR_ci_pipeline_url=$ci_pipeline_url"
ci_pipeline_url = var.ci_pipeline_url
ci_pipeline_url = var.ci_pipeline_url
# Calculated in CI
vpc_cidr = var.vpc_cidr
......
variable "vpc_cidr" {}
variable "env" {}
variable "ci_pipeline_url" {}
\ No newline at end of file
variable "ci_pipeline_url" {}
\ No newline at end of file
......@@ -27,10 +27,10 @@ locals {
name = "umbrella-${var.env}"
tags = {
"terraform" = "true",
"env" = var.env,
"project" = "umbrella",
"ci_pipeline_url" = var.ci_pipeline_url
"terraform" = "true",
"env" = var.env,
"project" = "umbrella",
"ci_pipeline_url" = var.ci_pipeline_url
}
}
......
......@@ -22,10 +22,10 @@ data "terraform_remote_state" "networking" {
module "ci" {
source = "../../main"
env = var.env
ci_pipeline_url = var.ci_pipeline_url
vpc_id = data.terraform_remote_state.networking.outputs.vpc_id
subnets = data.terraform_remote_state.networking.outputs.intra_subnets
env = var.env
ci_pipeline_url = var.ci_pipeline_url
vpc_id = data.terraform_remote_state.networking.outputs.vpc_id
subnets = data.terraform_remote_state.networking.outputs.intra_subnets
download = false
server_ami = "ami-00aab2121681e4a31"
......
......@@ -3,4 +3,4 @@ variable "aws_region" {
}
variable "env" {}
variable "ci_pipeline_url" {}
\ No newline at end of file
variable "ci_pipeline_url" {}
\ No newline at end of file
......@@ -23,7 +23,7 @@ module "ci" {
source = "../../main"
env = var.env
ci_pipeline_url = var.ci_pipeline_url
ci_pipeline_url = var.ci_pipeline_url
vpc_id = data.terraform_remote_state.networking.outputs.vpc_id
private_subnets = data.terraform_remote_state.networking.outputs.private_subnets
public_subnets = data.terraform_remote_state.networking.outputs.public_subnets
......
......@@ -3,4 +3,4 @@ variable "aws_region" {
}
variable "env" {}
variable "ci_pipeline_url" {}
\ No newline at end of file
variable "ci_pipeline_url" {}
\ No newline at end of file
......@@ -2,10 +2,10 @@ locals {
name = "umbrella-${var.env}"
tags = {
"project" = "umbrella"
"env" = var.env
"terraform" = "true",
"ci_pipeline_url" = var.ci_pipeline_url
"project" = "umbrella"
"env" = var.env
"terraform" = "true",
"ci_pipeline_url" = var.ci_pipeline_url
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment