Class: Chef::Provider::AwsRouteTable

Inherits:
Chef::Provisioning::AWSDriver::AWSProvider show all
Includes:
Chef::Provisioning::AWSDriver::TaggingStrategy::EC2ConvergeTags
Defined in:
lib/chef/provider/aws_route_table.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

#purging

Instance Method Summary collapse

Methods included from Chef::Provisioning::AWSDriver::TaggingStrategy::EC2ConvergeTags

#aws_tagger, #converge_tags

Methods inherited from Chef::Provisioning::AWSDriver::AWSProvider

#action_handler, #converge_by, #region, #whyrun_supported?

Instance Method Details

#action_createObject



9
10
11
12
13
14
15
16
17
# File 'lib/chef/provider/aws_route_table.rb', line 9

def action_create
  route_table = super

  unless new_resource.routes.nil?
    update_routes(vpc, route_table, new_resource.ignore_route_targets)
  end

  update_virtual_private_gateways(route_table, new_resource.virtual_private_gateways)
end