Added .gitignore file to exclude files that we do not want to be pushed to remotes
This commit is contained in:
parent
9d369862c5
commit
6df0a4fa6f
15
.gitignore
vendored
Normal file
15
.gitignore
vendored
Normal 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
|
||||||
5
main.tf
5
main.tf
@ -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" {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user