Skip to content

Instantly share code, notes, and snippets.

@AymenSegni
Created April 12, 2020 18:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AymenSegni/8e46a8fe1af77b57a948e34e93decae6 to your computer and use it in GitHub Desktop.
Save AymenSegni/8e46a8fe1af77b57a948e34e93decae6 to your computer and use it in GitHub Desktop.
# * deployment/main.tf
# .... the rest the modules deployments
module "app_env" {
source = "../modules/app_env"
k8s_app_lb_name = var.k8s_app_lb_name
zone_name = var.zone_name
}
# * deployment/variables.tf
# .... the rest the modules variables
variable "k8s_app_lb_name" {
type = string
description = "the K8S app public LB"
}
variable "zone_name" {
type = string
default = "aymen.krypton.berlin."
description = "Main zone name"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment