Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows example #21

Merged
merged 1 commit into from
Jun 27, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions examples/complete-web/main-windows.tf
Original file line number Diff line number Diff line change
@@ -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"
}
}