-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update pinning in readme and examples
- Loading branch information
John Titus
committed
Jan 7, 2020
1 parent
74ba766
commit eabac77
Showing
5 changed files
with
30 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ This module sets up basic network components for an account in a specific region | |
|
||
``` | ||
module "vpc" { | ||
source = "[email protected]:rackspace-infrastructure-automation/aws-terraform-vpc_basenetwork//?ref=v0.0.10" | ||
source = "[email protected]:rackspace-infrastructure-automation/aws-terraform-vpc_basenetwork//?ref=v0.12.0" | ||
vpc_name = "MyVPC" | ||
} | ||
|
@@ -24,6 +24,18 @@ By default only `vpc_name` is required to be set. Unless changed `aws_region` de | |
- EIPs will be created in all public subnets for NAT gateways to use | ||
- Route Tables, including routes to NAT gateways if applicable | ||
|
||
## Terraform 0.12 upgrade | ||
|
||
Several changes were required while adding terraform 0.12 compatibility. The following changes should | ||
made when upgrading from a previous release to version 0.12.0 or higher. | ||
|
||
### Module variables | ||
|
||
The following module variables were updated to better meet current Rackspace style guides: | ||
|
||
- `custom_tags` -> `tags` | ||
- `vpc_name` -> `name` | ||
|
||
## Inputs | ||
|
||
| Name | Description | Type | Default | Required | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ provider "aws" { | |
} | ||
|
||
module "vpc" { | ||
source = "[email protected]:rackspace-infrastructure-automation/aws-terraform-vpc_basenetwork//?ref=v0.0.10" | ||
source = "[email protected]:rackspace-infrastructure-automation/aws-terraform-vpc_basenetwork//?ref=v0.12.0" | ||
|
||
name = "MyVPC" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ provider "aws" { | |
} | ||
|
||
module "vpc" { | ||
source = "[email protected]:rackspace-infrastructure-automation/aws-terraform-vpc_basenetwork//?ref=v0.0.10" | ||
source = "[email protected]:rackspace-infrastructure-automation/aws-terraform-vpc_basenetwork//?ref=v0.12.0" | ||
|
||
name = "MyVPC" | ||
custom_azs = ["us-west-2a", "us-west-2b"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ provider "aws" { | |
} | ||
|
||
module "vpc" { | ||
source = "[email protected]:rackspace-infrastructure-automation/aws-terraform-vpc_basenetwork//?ref=v0.0.10" | ||
source = "[email protected]:rackspace-infrastructure-automation/aws-terraform-vpc_basenetwork//?ref=v0.12.0" | ||
|
||
name = "MyVPC" | ||
build_vpn = true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* | ||
*``` | ||
*module "vpc" { | ||
* source = "[email protected]:rackspace-infrastructure-automation/aws-terraform-vpc_basenetwork//?ref=v0.0.10" | ||
* source = "[email protected]:rackspace-infrastructure-automation/aws-terraform-vpc_basenetwork//?ref=v0.12.0" | ||
* | ||
* vpc_name = "MyVPC" | ||
*} | ||
|
@@ -24,7 +24,19 @@ | |
* - NAT Gateways will be created in each AZ's first public subnet | ||
* - EIPs will be created in all public subnets for NAT gateways to use | ||
* - Route Tables, including routes to NAT gateways if applicable | ||
*/ | ||
* | ||
*## Terraform 0.12 upgrade | ||
* | ||
*Several changes were required while adding terraform 0.12 compatibility. The following changes should be | ||
*made when upgrading from a previous release to version 0.12.0 or higher. | ||
* | ||
*### Module variables | ||
* | ||
*The following module variables were updated to better meet current Rackspace style guides: | ||
* | ||
*- `custom_tags` -> `tags` | ||
*- `vpc_name` -> `name` | ||
*/ | ||
|
||
terraform { | ||
required_version = ">= 0.12" | ||
|