Class: Chef::Provider::AwsSubnet

Inherits:
Chef::Provisioning::AWSDriver::AWSProvider
  • Object
show all
Defined in:
lib/chef/provider/aws_subnet.rb

Instance Method Summary collapse

Instance Method Details

#action_createObject



8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/chef/provider/aws_subnet.rb', line 8

def action_create
  subnet = super

  if new_resource.map_public_ip_on_launch != nil
    update_map_public_ip_on_launch(subnet)
  end

  if new_resource.route_table != nil
    update_route_table(subnet)
  end

  update_network_acl(subnet)
end