You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configuration in this directory creates a vpc with public / private / and a private outpost subnet.
4
+
5
+
This configuration uses Availability Zone IDs and Availability Zone names for demonstration purposes. Normally, you need to specify only names or IDs.
6
+
7
+
[Read more about AWS regions, availability zones and local zones](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-regions-availability-zones).
8
+
9
+
## Usage
10
+
11
+
To run this example you need to execute:
12
+
13
+
```bash
14
+
$ terraform init
15
+
$ terraform plan
16
+
$ terraform apply
17
+
```
18
+
19
+
Note that this example may create resources which can cost money (AWS Elastic IP, for example). Run `terraform destroy` when you don't need these resources.
20
+
21
+
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
22
+
## Requirements
23
+
24
+
| Name | Version |
25
+
|------|---------|
26
+
| terraform | >= 0.13.0 |
27
+
| aws | >= 3.0 |
28
+
29
+
## Providers
30
+
31
+
No provider.
32
+
33
+
## Inputs
34
+
35
+
| Name | Description |
36
+
|------|-------------|
37
+
| outpost_arn | The ARN of the outpost where you would like subnet deployed |
38
+
| outpost_az | AZ where outpost is anchored|
39
+
40
+
Note - without these input variables the subnet(s) will still create however they will be homed to the region not the outpost.
41
+
42
+
## Outputs
43
+
44
+
| Name | Description |
45
+
|------|-------------|
46
+
| azs | A list of availability zones spefified as argument to this module |
47
+
| nat\_public\_ips | List of public Elastic IPs created for AWS NAT Gateway |
48
+
| private\_subnets | List of IDs of private subnets |
49
+
| public\_subnets | List of IDs of public subnets |
50
+
| outpost\_subnets | List of IDs of the outpost subnets |
0 commit comments