Last active
February 18, 2021 22:09
-
-
Save madagra/0ca343e50c3d8839943acdf84929df35 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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