-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from mineiros-io/mariux/tf14
feat: Add support for terraform 0.14
- Loading branch information
Showing
23 changed files
with
44 additions
and
47 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
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
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
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 |
---|---|---|
|
@@ -12,7 +12,7 @@ A [Terraform](https://www.terraform.io) module to create a scalable and highly a | |
[Amazon Route53](https://aws.amazon.com/route53/) Domain Name System (DNS) on | ||
[Amazon Web Services (AWS)](https://aws.amazon.com/). | ||
|
||
***This module supports Terraform v0.13 as well as v0.12.20 and above | ||
***This module supports Terraform v0.14, v0.13 as well as v0.12.20 and above | ||
and is compatible with the terraform AWS provider v3 as well as v2.45 and above.*** | ||
|
||
- [Module Features](#module-features) | ||
|
@@ -68,7 +68,7 @@ a record for `www` pointing to localhost. | |
```hcl | ||
module "repository" { | ||
source = "mineiros-io/route53/aws" | ||
version = "~> 0.3.0" | ||
version = "~> 0.4.0" | ||
name = "mineiros.io" | ||
|
@@ -308,7 +308,7 @@ Copyright © 2020 [Mineiros GmbH][homepage] | |
[badge-build]: https://mineiros.semaphoreci.com/badges/terraform-aws-route53/branches/master.svg?style=shields | ||
[badge-semver]: https://img.shields.io/github/v/tag/mineiros-io/terraform-aws-route53.svg?label=latest&sort=semver | ||
[badge-license]: https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg | ||
[badge-terraform]: https://img.shields.io/badge/terraform-0.13%20and%200.12.20+-623CE4.svg?logo=terraform | ||
[badge-terraform]: https://img.shields.io/badge/terraform-0.14,%200.13,%200.12.20+-623CE4.svg?logo=terraform | ||
[badge-slack]: https://img.shields.io/badge/[email protected]?logo=slack | ||
|
||
[badge-tf-aws]: https://img.shields.io/badge/AWS-3%20and%202.45+-F8991D.svg?logo=terraform | ||
|
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 |
---|---|---|
|
@@ -27,7 +27,7 @@ | |
[homepage]: https://mineiros.io/?ref=terraform-aws-route53 | ||
|
||
[badge-license]: https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg | ||
[badge-terraform]: https://img.shields.io/badge/terraform-0.13%20and%200.12.20+-623CE4.svg?logo=terraform | ||
[badge-terraform]: https://img.shields.io/badge/terraform-0.14,%200.13,%200.12.20+-623CE4.svg?logo=terraform | ||
[badge-slack]: https://img.shields.io/badge/[email protected]?logo=slack | ||
[badge-semver]: https://img.shields.io/github/v/tag/mineiros-io/terraform-aws-route53.svg?label=latest&sort=semver | ||
|
||
|
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 |
---|---|---|
|
@@ -15,7 +15,7 @@ The `www.` subdomains are implement through CNAMES and point on the A-Records. | |
```hcl | ||
module "route53" { | ||
source = "mineiros-io/route53/aws" | ||
version = "~> 0.3.0" | ||
version = "~> 0.4.0" | ||
name = "a-dev-mineiros.io" | ||
|
@@ -87,7 +87,7 @@ Run `terraform destroy` to destroy all resources again. | |
|
||
[homepage]: https://mineiros.io/?ref=terraform-aws-route53 | ||
[badge-license]: https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg | ||
[badge-terraform]: https://img.shields.io/badge/terraform-0.13%20and%200.12.20+-623CE4.svg?logo=terraform | ||
[badge-terraform]: https://img.shields.io/badge/terraform-0.14,%200.13,%200.12.20+-623CE4.svg?logo=terraform | ||
[badge-slack]: https://img.shields.io/badge/[email protected]?logo=slack | ||
[releases-terraform]: https://github.com/hashicorp/terraform/releases | ||
[apache20]: https://opensource.org/licenses/Apache-2.0 | ||
|
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
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 |
---|---|---|
|
@@ -14,14 +14,14 @@ you can create a reusable delegation set and then associate the reusable delegat | |
```hcl | ||
module "route53-zone-with-delegation-set" { | ||
source = "mineiros-io/route53/aws" | ||
version = "~> 0.3.0" | ||
version = "~> 0.4.0" | ||
name = "mineiros.io" | ||
} | ||
module "route53-zone" { | ||
source = "mineiros-io/route53/aws" | ||
version = "~> 0.3.0" | ||
version = "~> 0.4.0" | ||
name = "mineiros.com" | ||
delegation_set_id = module.route53-zone-with-delegation-set.delegation_set.id | ||
|
@@ -59,7 +59,7 @@ Run `terraform destroy` to destroy all resources again. | |
[main.tf]: https://github.com/mineiros-io/terraform-aws-route53/blob/master/examples/delegation-set/main.tf | ||
[homepage]: https://mineiros.io/?ref=terraform-aws-route53 | ||
[badge-license]: https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg | ||
[badge-terraform]: https://img.shields.io/badge/terraform-0.13%20and%200.12.20+-623CE4.svg?logo=terraform | ||
[badge-terraform]: https://img.shields.io/badge/terraform-0.14,%200.13,%200.12.20+-623CE4.svg?logo=terraform | ||
[badge-slack]: https://img.shields.io/badge/[email protected]?logo=slack | ||
[releases-terraform]: https://github.com/hashicorp/terraform/releases | ||
[apache20]: https://opensource.org/licenses/Apache-2.0 | ||
|
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
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ resource "aws_route53_health_check" "primary" { | |
module "route53" { | ||
source = "mineiros-io/route53/aws" | ||
version = "~> 0.3.0" | ||
version = "~> 0.4.0" | ||
name = "mineiros.io" | ||
skip_delegation_set_creation = true | ||
|
@@ -87,7 +87,7 @@ Run `terraform destroy` to destroy all resources again. | |
[main.tf]: https://github.com/mineiros-io/terraform-aws-route53/blob/master/examples/failover-routing/main.tf | ||
[homepage]: https://mineiros.io/?ref=terraform-aws-route53 | ||
[badge-license]: https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg | ||
[badge-terraform]: https://img.shields.io/badge/terraform-0.13%20and%200.12.20+-623CE4.svg?logo=terraform | ||
[badge-terraform]: https://img.shields.io/badge/terraform-0.14,%200.13,%200.12.20+-623CE4.svg?logo=terraform | ||
[badge-slack]: https://img.shields.io/badge/[email protected]?logo=slack | ||
[releases-terraform]: https://github.com/hashicorp/terraform/releases | ||
[apache20]: https://opensource.org/licenses/Apache-2.0 | ||
|
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
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 |
---|---|---|
|
@@ -14,7 +14,7 @@ All created zones will share the same delegation set. | |
# Create multiple zones with a single module | ||
module "zones" { | ||
source = "mineiros-io/route53/aws" | ||
version = "~> 0.3.0" | ||
version = "~> 0.4.0" | ||
name = [ | ||
"mineiros.io", | ||
|
@@ -25,7 +25,7 @@ module "zones" { | |
# Create the records for zone a | ||
module "zone_a_records" { | ||
source = "mineiros-io/route53/aws" | ||
version = "~> 0.3.0" | ||
version = "~> 0.4.0" | ||
# Wrap the reference to the zone inside a try statement to prevent ugly exceptions if we run terraform destroy | ||
# without running a successful terraform apply before. | ||
|
@@ -45,7 +45,7 @@ module "zone_a_records" { | |
# Create the records for zone b | ||
module "zone_b_records" { | ||
source = "mineiros-io/route53/aws" | ||
version = "~> 0.3.0" | ||
version = "~> 0.4.0" | ||
zone_id = try(module.zones.zone["mineiros.com"].zone_id, null) | ||
|
@@ -93,7 +93,7 @@ Run `terraform destroy` to destroy all resources again. | |
[main.tf]: https://github.com/mineiros-io/terraform-aws-route53/blob/master/examples/multiple-domains-different-records/main.tf | ||
[homepage]: https://mineiros.io/?ref=terraform-aws-route53 | ||
[badge-license]: https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg | ||
[badge-terraform]: https://img.shields.io/badge/terraform-0.13%20and%200.12.20+-623CE4.svg?logo=terraform | ||
[badge-terraform]: https://img.shields.io/badge/terraform-0.14,%200.13,%200.12.20+-623CE4.svg?logo=terraform | ||
[badge-slack]: https://img.shields.io/badge/[email protected]?logo=slack | ||
[releases-terraform]: https://github.com/hashicorp/terraform/releases | ||
[apache20]: https://opensource.org/licenses/Apache-2.0 | ||
|
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
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 |
---|---|---|
|
@@ -12,7 +12,7 @@ both. The zones will share the same delegation set. | |
```hcl | ||
module "zones" { | ||
source = "mineiros-io/route53/aws" | ||
version = "~> 0.3.0" | ||
version = "~> 0.4.0" | ||
name = [ | ||
"mineiros.io", | ||
|
@@ -78,7 +78,7 @@ Run `terraform destroy` to destroy all resources again. | |
[main.tf]: https://github.com/mineiros-io/terraform-aws-route53/blob/master/examples/multiple-domains-same-records/main.tf | ||
[homepage]: https://mineiros.io/?ref=terraform-aws-route53 | ||
[badge-license]: https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg | ||
[badge-terraform]: https://img.shields.io/badge/terraform-0.13%20and%200.12.20+-623CE4.svg?logo=terraform | ||
[badge-terraform]: https://img.shields.io/badge/terraform-0.14,%200.13,%200.12.20+-623CE4.svg?logo=terraform | ||
[badge-slack]: https://img.shields.io/badge/[email protected]?logo=slack | ||
[releases-terraform]: https://github.com/hashicorp/terraform/releases | ||
[apache20]: https://opensource.org/licenses/Apache-2.0 | ||
|
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
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ The code in [main.tf] creates a private Route53 Zone with a single A-Record. | |
```hcl | ||
module "route53" { | ||
source = "mineiros-io/route53/aws" | ||
version = "~> 0.3.0" | ||
version = "~> 0.4.0" | ||
name = "mineiros.io" | ||
|
@@ -63,7 +63,7 @@ Run `terraform destroy` to destroy all resources again. | |
[main.tf]: https://github.com/mineiros-io/terraform-aws-route53/blob/master/examples/private-hosted-zone/main.tf | ||
[homepage]: https://mineiros.io/?ref=terraform-aws-route53 | ||
[badge-license]: https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg | ||
[badge-terraform]: https://img.shields.io/badge/terraform-0.13%20and%200.12.20+-623CE4.svg?logo=terraform | ||
[badge-terraform]: https://img.shields.io/badge/terraform-0.14,%200.13,%200.12.20+-623CE4.svg?logo=terraform | ||
[badge-slack]: https://img.shields.io/badge/[email protected]?logo=slack | ||
[releases-terraform]: https://github.com/hashicorp/terraform/releases | ||
[apache20]: https://opensource.org/licenses/Apache-2.0 | ||
|
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
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ The code in [main.tf] creates a Route53 Zone with two attached weighted records. | |
```hcl | ||
module "route53" { | ||
source = "mineiros-io/route53/aws" | ||
version = "~> 0.3.0" | ||
version = "~> 0.4.0" | ||
name = "mineiros.io" | ||
skip_delegation_set_creation = true | ||
|
@@ -76,7 +76,7 @@ Run `terraform destroy` to destroy all resources again. | |
[main.tf]: https://github.com/mineiros-io/terraform-aws-route53/blob/master/examples/weighted-routing/main.tf | ||
[homepage]: https://mineiros.io/?ref=terraform-aws-route53 | ||
[badge-license]: https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg | ||
[badge-terraform]: https://img.shields.io/badge/terraform-0.13%20and%200.12.20+-623CE4.svg?logo=terraform | ||
[badge-terraform]: https://img.shields.io/badge/terraform-0.14,%200.13,%200.12.20+-623CE4.svg?logo=terraform | ||
[badge-slack]: https://img.shields.io/badge/[email protected]?logo=slack | ||
[releases-terraform]: https://github.com/hashicorp/terraform/releases | ||
[apache20]: https://opensource.org/licenses/Apache-2.0 | ||
|
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
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
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 |
---|---|---|
|
@@ -72,7 +72,7 @@ Alternatively, you can also run the tests without Docker. | |
[Go]: https://golang.org/ | ||
[Terraform]: https://www.terraform.io/downloads.html | ||
[badge-license]: https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg | ||
[badge-terraform]: https://img.shields.io/badge/terraform-0.13%20and%200.12.20+-623CE4.svg?logo=terraform | ||
[badge-terraform]: https://img.shields.io/badge/terraform-0.14,%200.13,%200.12.20+-623CE4.svg?logo=terraform | ||
[badge-slack]: https://img.shields.io/badge/[email protected]?logo=slack | ||
|
||
[releases-terraform]: https://github.com/hashicorp/terraform/releases | ||
|
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
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