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
resource "aws_security_group" "gocd_elb" { | |
name = "gocd-agent-ui-elb-sg" | |
description = "Security group for the gocd UI ELBs" | |
vpc_id = "${var.vpc_id}" | |
tags { | |
Name = "gocd agent (ELB)" | |
} | |
# HTTP |
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
resource "aws_security_group" "gocd_agent_elb" { | |
name = "gocd-agent-elb-sg" | |
description = "Security group for the gocd agent ELBs" | |
vpc_id = "${var.vpc_id}" | |
tags { | |
Name = "gocd agent (ELB)" | |
} | |
# HTTP - SSL (SERVER TO AGENT) |
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
rresource "aws_security_group" "gocd_agent_elb" { | |
name = "gocd-agent-elb-sg" | |
description = "Security group for the gocd agent ELBs" | |
vpc_id = "${var.vpc_id}" | |
tags { | |
Name = "gocd agent (ELB)" | |
} | |
# HTTP |
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
resource "aws_security_group" "bamboo_elb" { | |
name = "bamboo-ui-elb-sg" | |
description = "Security group for the bamboo UI ELBs" | |
vpc_id = "${var.vpc_id}" | |
tags { | |
Name = "bamboo (ELB)" | |
} | |
# Bamboo traffic - HTTP |
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
resource "aws_security_group" "bamboo_elb" { | |
name = "bamboo-ui-elb-sg" | |
description = "Security group for the bamboo UI ELBs" | |
vpc_id = "${var.vpc_id}" | |
tags { | |
Name = "bamboo (ELB)" | |
} | |
# Bamboo traffic - HTTP |
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
resource "aws_security_group" "bamboo_elb" { | |
name = "bamboo-ui-elb-sg" | |
description = "Security group for the bamboo UI ELBs" | |
vpc_id = "${var.vpc_id}" | |
tags { | |
Name = "bamboo (ELB)" | |
} | |
# Bamboo traffic - HTTP |
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
resource "aws_security_group" "bamboo_elb" { | |
name = "bamboo-ui-elb-sg" | |
description = "Security group for the bamboo UI ELBs" | |
vpc_id = "${var.vpc_id}" | |
tags { | |
Name = "bamboo (ELB)" | |
} | |
# Bamboo traffic - HTTP |
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
resource "aws_elb" "bamboo_elb" { | |
name = "bamboo-elb" | |
subnets = ["${split(",", var.public_subnets)}"] | |
security_groups = ["${aws_security_group.bamboo_elb.id}"] | |
cross_zone_load_balancing = true | |
connection_draining = true | |
# Bamboo traffic - HTTP 80 -> 8085 | |
listener { |
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
{ | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Resource": [ | |
"*" | |
], | |
"Action": [ | |
"autoscaling:DescribeAutoScalingGroups", | |
"autoscaling:DescribeAutoScalingInstances", |
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
--- | |
driver_config: | |
aws_access_key_id: <%= ENV['AWS_ACCESS_KEY'] %> | |
aws_secret_access_key: <%= ENV['AWS_SECRET_KEY'] %> | |
aws_ssh_key_id: eu-west-1 | |
provisioner: | |
name: chef_zero | |
require_chef_omnibus: latest |