Resource Type: oci_core_local_peering_gateway
- Defined in:
- lib/puppet/type/oci_core_local_peering_gateway.rb
- Providers:
-
sdk
Overview
A local peering gateway (LPG) is an object on a VCN that lets that VCN peer with another VCN in the same region. Peering means that the two VCNs can communicate using private IP addresses, but without the traffic traversing the internet or routing through your on-premises network. For more information, see [VCN Peering](docs.cloud.oracle.com/Content/Network/Tasks/VCNpeering.htm).
To use any of the API operations, you must be authorized in an IAM policy. If you’re not authorized, talk to an administrator. If you’re an administrator who needs to write policies to give users access, see [Getting Started with Policies](docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Here is an example on how to use this:
oci_core_local_peering_gateway { 'tenant (root)/my_peering_gatewaye':
ensure => 'present',
vcn => 'my_compartment/my_vcn',
route_table => 'my_compartment/my_route_table',
}
This documentation is generated from the [Ruby OCI SDK](https://github.com/oracle/oci-ruby-sdk).