Skip to content

Instantly share code, notes, and snippets.

@madagra
Last active February 18, 2021 22:09
Show Gist options
  • Save madagra/0ca343e50c3d8839943acdf84929df35 to your computer and use it in GitHub Desktop.
Save madagra/0ca343e50c3d8839943acdf84929df35 to your computer and use it in GitHub Desktop.
module "acm" {
source = "terraform-aws-modules/acm/aws"
domain_name = var.domain_name
zone_id = aws_route53_zone.this.zone_id
wait_for_validation = true
tags = {
Name = "complete-example-cert"
Terraform = "true"
}
}
module "alb" {
source = "terraform-aws-modules/alb/aws"
version = "~> 5.10.0"
name = "pypi-alb"
load_balancer_type = "application"
vpc_id = module.vpc.vpc_id
subnets = module.vpc.public_subnets
security_groups = [aws_security_group.alb_sg.id]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment