Simple VPC
Terraform scripts to create a simple AWS VPC using the module vpc.
To create a simple AWS VPC:
terraform init
terraform plan
terraform apply
To delete all resource:
terraform destroy
Requirements
Name |
Version |
|---|---|
>= 1.0 |
|
~> 5.61 |
|
~> 2.3.1 |
|
~> 3.2.1 |
|
~> 3.5.1 |
Providers
Name |
Version |
|---|---|
~> 5.61 |
|
~> 2.3.1 |
|
~> 3.2.1 |
|
~> 3.5.1 |
Modules
Name |
Source |
Version |
|---|---|---|
../../../vpc |
n/a |
Resources
Name |
Type |
|---|---|
resource |
|
resource |
|
data source |
|
data source |
|
data source |
Inputs
Name |
Description |
Type |
Default |
Required |
|---|---|---|---|---|
The AWS profile |
|
|
no |
|
The AWS region |
|
|
no |
Outputs
Name |
Description |
|---|---|
The CIDR block of the VPC |
|
The ID of the VPC |
|
The name of the VPC |
|
List of IDs of private subnets |
|
List of cidr_blocks of private subnets |
|
List of IDs of public subnets |
|
List of cidr_blocks of public subnets |
|
List of secondary CIDR blocks of the VPC |