Class: Chef::Provider::AwsVpcPeeringConnection

Inherits:
Chef::Provisioning::AWSDriver::AWSProvider show all
Defined in:
lib/chef/provider/aws_vpc_peering_connection.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 inherited from Chef::Provisioning::AWSDriver::AWSProvider

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

Instance Method Details

#action_acceptObject



12
13
14
15
# File 'lib/chef/provider/aws_vpc_peering_connection.rb', line 12

def action_accept
  existing_vpc_peering_connection = new_resource.aws_object
  accept_connection(existing_vpc_peering_connection, new_resource)
end

#action_createObject



7
8
9
10
# File 'lib/chef/provider/aws_vpc_peering_connection.rb', line 7

def action_create
  vpc_peering_connection = super
  accept_connection(vpc_peering_connection, new_resource)
end