Method: Ufo::Cfn::Stack::Vpc#subnets
- Defined in:
- lib/ufo/cfn/stack/vpc.rb
#subnets(subnets) ⇒ Object
23 24 25 26 27 28 29 |
# File 'lib/ufo/cfn/stack/vpc.rb', line 23 def subnets(subnets) if subnets subnets.is_a?(String) ? subnets : subnets.join(',') else subnets_for(vpc_id).join(',') # default vpc subnets or all subnets for the configured vpc end end |