mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-21 22:22:58 -06:00
aws: Add docs for aws_customer_gateway.
This commit is contained in:
parent
eb03f08454
commit
2b4fb16e3a
@ -0,0 +1,46 @@
|
|||||||
|
---
|
||||||
|
layout: "aws"
|
||||||
|
page_title: "AWS: aws_customer_gateway"
|
||||||
|
sidebar_current: "docs-aws-resource-customer-gateway"
|
||||||
|
description: |-
|
||||||
|
Provides a customer gateway inside a VPC. These objects can be
|
||||||
|
connected to VPN gateways via VPN connections, and allow you to
|
||||||
|
establish tunnels between your network and the VPC.
|
||||||
|
---
|
||||||
|
|
||||||
|
# aws\_customer\_gateway
|
||||||
|
|
||||||
|
Provides a customer gateway inside a VPC. These objects can be connected to VPN gateways via VPN connections, and allow you to establish tunnels between your network and the VPC.
|
||||||
|
|
||||||
|
## Example Usage
|
||||||
|
|
||||||
|
```
|
||||||
|
resource "aws_customer_gateway" "main" {
|
||||||
|
bgp_asn = 60000
|
||||||
|
ip_address = "172.83.124.10"
|
||||||
|
type = ipsec.1
|
||||||
|
tags {
|
||||||
|
Name = "main-customer-gateway"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Argument Reference
|
||||||
|
|
||||||
|
The following arguments are supported:
|
||||||
|
|
||||||
|
* `bgp_asn` - (Required) The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
||||||
|
* `ip_address` - (Required) The IP address of the gateway's Internet-routable external interface.
|
||||||
|
* `type` - (Required) The type of customer gateway. The only type AWS
|
||||||
|
supports at this time is "ipsec.1".
|
||||||
|
* `tags` - (Optional) Tags to apply to the gateway.
|
||||||
|
|
||||||
|
## Attribute Reference
|
||||||
|
|
||||||
|
The following attributes are exported:
|
||||||
|
|
||||||
|
* `id` - The amazon-assigned ID of the gateway.
|
||||||
|
* `bgp_asn` - The gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).
|
||||||
|
* `ip_address` - The IP address of the gateway's Internet-routable external interface.
|
||||||
|
* `type` - The type of customer gateway.
|
||||||
|
* `tags` - Tags applied to the gateway.
|
@ -17,6 +17,10 @@
|
|||||||
<a href="/docs/providers/aws/r/autoscale.html">aws_autoscaling_group</a>
|
<a href="/docs/providers/aws/r/autoscale.html">aws_autoscaling_group</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
<li<%= sidebar_current("docs-aws-resource-customer-gateway") %>>
|
||||||
|
<a href="/docs/providers/aws/r/customer_gateway.html">aws_customer_gateway</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-aws-resource-db-instance") %>>
|
<li<%= sidebar_current("docs-aws-resource-db-instance") %>>
|
||||||
<a href="/docs/providers/aws/r/db_instance.html">aws_db_instance</a>
|
<a href="/docs/providers/aws/r/db_instance.html">aws_db_instance</a>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user