From 84921b082703574ad0fbe223b7b548a07ea80852 Mon Sep 17 00:00:00 2001 From: igorkotof Date: Fri, 24 Jun 2022 16:55:03 +0300 Subject: [PATCH] windows example --- examples/complete-web/main-windows.tf | 43 +++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 examples/complete-web/main-windows.tf diff --git a/examples/complete-web/main-windows.tf b/examples/complete-web/main-windows.tf new file mode 100644 index 0000000..694d6f8 --- /dev/null +++ b/examples/complete-web/main-windows.tf @@ -0,0 +1,43 @@ +module "web_complete" { + source = "../.." + + name = "app" + app_type = "web" + env = var.env + namespace = var.namespace + ecs_cluster_name = local.ecs_cluster_name + + # Containers + cpu = 1024 + memory = 2048 + operating_system_family = "WINDOWS_SERVER_2019_CORE" + docker_registry = local.docker_registry + image_id = local.image_id + docker_image_tag = local.docker_image_tag + iam_instance_profile = local.iam_instance_profile + key_name = local.key_name + + # Load Balancer + public = true + alb_health_check_path = "/" + alb_security_groups = local.alb_security_groups + tls_cert_arn = local.tls_cert_arn + + # Network + vpc_id = local.vpc_id + public_subnets = local.public_subnets + private_subnets = local.private_subnets + security_groups = local.security_groups + root_domain_name = var.root_domain_name + zone_id = local.zone_id + route53_health_check_enabled = false + + # Environment variables + app_secrets = [ + ] + environment = { + ENV = var.env + APP_NAME = "App" + } +} +