Class: Chef::Provider::AwsSubnet
- Inherits:
-
Chef::Provisioning::AWSDriver::AWSProvider
- Object
- LWRPBase
- Chef::Provisioning::AWSDriver::AWSProvider
- Chef::Provider::AwsSubnet
- Defined in:
- lib/chef/provider/aws_subnet.rb
Constant Summary
Constants inherited from Chef::Provisioning::AWSDriver::AWSProvider
Chef::Provisioning::AWSDriver::AWSProvider::AWSResource
Instance Attribute Summary
Attributes inherited from Chef::Provisioning::AWSDriver::AWSProvider
Instance Method Summary collapse
Methods included from Chef::Provisioning::AWSDriver::TaggingStrategy::EC2ConvergeTags
Methods inherited from Chef::Provisioning::AWSDriver::AWSProvider
#action_handler, #converge_by, #region, #whyrun_supported?
Instance Method Details
#action_create ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/chef/provider/aws_subnet.rb', line 11 def action_create subnet = super unless new_resource.map_public_ip_on_launch.nil? update_map_public_ip_on_launch(subnet) end update_route_table(subnet) unless new_resource.route_table.nil? update_network_acl(subnet) end |