Commit eef3e989 authored by Daisuke Fujita's avatar Daisuke Fujita

Include source_security_group

parent 0959ac6a
......@@ -35,6 +35,7 @@ module Terraforming
"listener.#" => load_balancer.listener_descriptions.length.to_s,
"name" => load_balancer.load_balancer_name,
"security_groups.#" => load_balancer.security_groups.length.to_s,
"source_security_group" => load_balancer.source_security_group.group_name,
"subnets.#" => load_balancer.subnets.length.to_s,
}
result["aws_elb.#{module_name_of(load_balancer)}"] = {
......
......@@ -126,7 +126,7 @@ module Terraforming
scheme: "internet-facing",
source_security_group: {
owner_alias: "345678901234",
group_name: "default"
group_name: "elb"
}
}
]
......@@ -251,6 +251,7 @@ resource "aws_elb" "fuga" {
"listener.#" => "1",
"name" => "hoge",
"security_groups.#" => "2",
"source_security_group" => "default",
"subnets.#" => "2",
}
}
......@@ -272,6 +273,7 @@ resource "aws_elb" "fuga" {
"listener.#" => "1",
"name" => "fuga",
"security_groups.#" => "2",
"source_security_group" => "elb",
"subnets.#" => "2",
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment