Skip to content

Commit 7182dd2

Browse files
simple doc update [skip-ci]
1 parent 64d8ff5 commit 7182dd2

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

README.md

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Balancer (ALB) running over HTTP/HTTPS. Available through the [terraform registr
1212
* You want to create a set of resources for the ALB: namely an associated target group and listener.
1313
* You've created a Virtual Private Cloud (VPC) + subnets where you intend to put this ALB.
1414
* You have one or more security groups to attach to the ALB.
15-
* You want to configure a listener for HTTPS/HTTP
16-
* You've uploaded an SSL certificate to AWS IAM if using HTTPS
15+
* You want to configure a listener for HTTPS/HTTP.
16+
* You've uploaded an SSL certificate to AWS IAM if using HTTPS.
1717

1818
The module supports both (mutually exclusive):
1919

@@ -43,22 +43,17 @@ A full example leveraging other community modules is contained in the [examples/
4343
module "alb" {
4444
source = "terraform-aws-modules/alb/aws"
4545
alb_name = "my-alb"
46-
region = "us-east-2"
47-
alb_security_groups = ["sg-edcd9784", "sg-edcd9785"]
48-
vpc_id = "vpc-abcde012"
49-
subnets = ["subnet-abcde012", "subnet-bcde012a"]
5046
alb_protocols = ["HTTPS"]
47+
alb_security_groups = ["sg-edcd9784", "sg-edcd9785"]
5148
certificate_arn = "arn:aws:iam::123456789012:server-certificate/test_cert-123456789012"
5249
create_log_bucket = true
5350
enable_logging = true
51+
health_check_path = "/"
5452
log_bucket_name = "logs-us-east-2-123456789012"
5553
log_location_prefix = "my-alb-logs
56-
health_check_path = "/"
57-
58-
tags {
59-
"Terraform" = "true"
60-
"Env" = "${terraform.workspace}"
61-
}
54+
subnets = ["subnet-abcde012", "subnet-bcde012a"]
55+
tags = "${map("Environment", "test")}"
56+
vpc_id = "vpc-abcde012"
6257
}
6358
```
6459

0 commit comments

Comments
 (0)