1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- resource "aws_elb" "main" {
- name = "fifthsun"
- subnets = ["subnet-03a35875"]
- security_groups = ["sg-308eab57"]
- instances = ["i-9ef3dd46"]
- cross_zone_load_balancing = false
- idle_timeout = 250
- connection_draining = false
- connection_draining_timeout = 300
- internal = false
- access_logs {
- bucket = "5thsunelblogs"
- bucket_prefix = ""
- interval = 5
- }
- listener {
- instance_port = 80
- instance_protocol = "http"
- lb_port = 80
- lb_protocol = "http"
- ssl_certificate_id = ""
- }
- listener {
- instance_port = 80
- instance_protocol = "http"
- lb_port = 443
- lb_protocol = "https"
- ssl_certificate_id = "arn:aws:iam::531003974115:server-certificate/nuxeocloud2016"
- }
- health_check {
- healthy_threshold = 2
- unhealthy_threshold = 4
- interval = 30
- target = "TCP:8080"
- timeout = 10
- }
- tags {
- "billing-category" = "customer"
- "billing-subcategory" = "fifthsun"
- "Name" = "fifthsun"
- }
- }
- resource "aws_elb" "internal" {
- name = "fifthsun-internal"
- subnets = ["subnet-03a35875"]
- security_groups = ["sg-308eab57"]
- instances = ["i-9ef3dd46"]
- cross_zone_load_balancing = false
- idle_timeout = 1800
- connection_draining = false
- connection_draining_timeout = 300
- internal = true
- listener {
- instance_port = 80
- instance_protocol = "http"
- lb_port = 80
- lb_protocol = "http"
- ssl_certificate_id = ""
- }
- listener {
- instance_port = 80
- instance_protocol = "http"
- lb_port = 443
- lb_protocol = "https"
- ssl_certificate_id = "arn:aws:iam::531003974115:server-certificate/nuxeocloud2016"
- }
- health_check {
- healthy_threshold = 2
- unhealthy_threshold = 3
- interval = 30
- target = "TCP:8080"
- timeout = 5
- }
- tags {
- "billing-category" = "customer"
- "billing-subcategory" = "fifthsun"
- "Name" = "fifthsun-internal"
- }
- }
|