Added .gitignore file to exclude files that we do not want to be pushed to remotes

This commit is contained in:
Patrick de Ruiter 2021-06-08 11:31:50 +02:00
parent 9d369862c5
commit 6df0a4fa6f
2 changed files with 18 additions and 2 deletions

15
.gitignore vendored Normal file
View File

@ -0,0 +1,15 @@
# Local .terraform directories
**/.terraform/*
# .tfstate files
*.tfstate
*.tfstate.*
**/.idea
**/*.iml
**/.build-harness
**/build-harness
# Rendered yaml config
**/configmap-auth.yaml

View File

@ -3,12 +3,13 @@ module "label" {
name = var.name name = var.name
stage = var.stage stage = var.stage
delimiter = var.delimiter delimiter = var.delimiter
attributes = compact(concat(var.attributes, list("cluster"))) #attributes = compact(concat(var.attributes, list("cluster")))
attributes = compact(concat(var.attributes, tolist(["cluster"])))
tags = var.tags tags = var.tags
} }
locals { locals {
tags = merge(module.label.tags, map("kubernetes.io/cluster/${module.label.id}", "shared")) tags = merge(module.label.tags, tomap({ "kubernetes.io/cluster/${module.label.id}" = "shared"}))
} }
#module "carnext_poc-day0-deploy" { #module "carnext_poc-day0-deploy" {