Skip to content

Instantly share code, notes, and snippets.

@100daysofdevops
Created March 1, 2019 19:17
Show Gist options
  • Select an option

  • Save 100daysofdevops/8b5c0364691e8b0a397d04e5bdef5d4f to your computer and use it in GitHub Desktop.

Select an option

Save 100daysofdevops/8b5c0364691e8b0a397d04e5bdef5d4f to your computer and use it in GitHub Desktop.
resource "aws_lb" "my-test-lb" {
name = "my-test-lb"
internal = false
load_balancer_type = "application"
ip_address_type = "ipv4"
subnets = ["${var.subnet_id1}", "${var.subnet_id2}"]
enable_deletion_protection = true
tags {
Name = "my-test-alb"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment