Skip to content

Commit c25fe0f

Browse files
committed
Fix Route53 Example
1 parent 435c079 commit c25fe0f

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.github/workflows/terraform.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
name: "Determine Terraform Modules"
1616
runs-on: ubuntu-latest
1717
outputs:
18-
check_modules: ${{ github.event_name == 'tpull_request'
18+
check_modules: ${{ github.event_name == 'pull_request'
1919
&& steps.output-changed.outputs.changed_modules
2020
|| steps.output-all.outputs.all_modules }}
2121
all_modules: ${{ steps.output-all.outputs.all_modules }}

modules/aws/route53/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ the bare domain and www subdomain to the canonical domain.
9393
module "example_com" {
9494
source = "github.com/answerdigital/terraform-modules//modules/aws/route53?ref=v2"
9595
96-
domain = "examples.com"
96+
domain = "example.com"
9797
aliases = [
98-
"examples.org" # examples.org and www.examples.org will redirect to examples.com
98+
"example.org" # examples.org and www.examples.org will redirect to examples.com
9999
]
100100
alias_records = {
101101
"example.org" = {

modules/aws/route53/examples/example.tf

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@ module "example_com" {
55
aliases = [
66
"example.org"
77
]
8-
google_site_verification = {
9-
name = "google-site-verification"
10-
type = "TXT"
11-
records = ["google-site-verification-key"]
12-
},
8+
139
alias_records = {
1410
"example.org" = {
1511
foo = {
@@ -20,11 +16,16 @@ module "example_com" {
2016
}
2117
}
2218
records = {
19+
google_site_verification = {
20+
name = "google-site-verification"
21+
type = "TXT"
22+
records = ["google-site-verification-key"]
23+
}
2324
www = {
2425
name = "www"
2526
type = "A"
2627
records = ["1.2.3.4"]
2728
}
2829
}
2930

30-
}
31+
}

0 commit comments

Comments
 (0)