Jets Config Helpers EC2
These helpers look up EC2 resources.
vpc_id
Examples:
vpc_id(name: "tag:Name", values: ["prod"])
security_group_ids
Examples:
security_group_ids("name1", "name2", vpc_id: vpc_id("prod"))
security_group_ids("lambda-#{Jets.env}", vpc_id: vpc_id("prod"))
Reference
default_subnet_ids
default_subnets
default_vpc
default_vpc_cidr
default_vpc_id
key_pair_names(filter_expression = nil)
key_pairs(filter_expression = nil)
security_group(*names)
security_group_ids(*names)
subnet_ids(*names)
subnets(*names)
vpc(name)
vpc_id(name)