File tree 17 files changed +72
-23
lines changed
resolver-rule-associations
zone-cross-account-vpc-association
17 files changed +72
-23
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,14 @@ Note that this example may create resources which cost money. Run `terraform des
22
22
| Name | Version |
23
23
| ------| ---------|
24
24
| <a name =" requirement_terraform " ></a > [ terraform] ( #requirement\_ terraform ) | >= 1.3.2 |
25
- | <a name =" requirement_aws " ></a > [ aws] ( #requirement\_ aws ) | >= 5.37 |
25
+ | <a name =" requirement_aws " ></a > [ aws] ( #requirement\_ aws ) | >= 5.91 |
26
26
27
27
## Providers
28
28
29
29
| Name | Version |
30
30
| ------| ---------|
31
- | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | >= 5.37 |
32
- | <a name =" provider_aws.second_account " ></a > [ aws.second\_ account] ( #provider\_ aws.second\_ account ) | >= 5.37 |
31
+ | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | >= 5.91 |
32
+ | <a name =" provider_aws.second_account " ></a > [ aws.second\_ account] ( #provider\_ aws.second\_ account ) | >= 5.91 |
33
33
34
34
## Modules
35
35
@@ -57,6 +57,7 @@ Note that this example may create resources which cost money. Run `terraform des
57
57
58
58
| Name | Type |
59
59
| ------| ------|
60
+ | [ aws_route53_cidr_collection.example] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route53_cidr_collection ) | resource |
60
61
| [ aws_route53_health_check.failover] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route53_health_check ) | resource |
61
62
| [ aws_route53_resolver_rule.sys] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route53_resolver_rule ) | resource |
62
63
| [ aws_availability_zones.available] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/availability_zones ) | data source |
Original file line number Diff line number Diff line change @@ -28,6 +28,11 @@ module "zones" {
28
28
tags = {
29
29
Name = " terraform-aws-modules-example.com"
30
30
}
31
+ timeouts = {
32
+ create = " 2h"
33
+ update = " 3h"
34
+ delete = " 1h"
35
+ }
31
36
}
32
37
33
38
" app.terraform-aws-modules-example.com" = {
@@ -91,6 +96,11 @@ module "records" {
91
96
records = [
92
97
" ${ module . zones . primary_name_server [local . zone_name ]} . awsdns-hostmaster.amazon.com. 1 7200 900 1209600 60" ,
93
98
]
99
+ timeouts = {
100
+ create = " 2h"
101
+ update = " 2h"
102
+ delete = " 1h"
103
+ }
94
104
},
95
105
{
96
106
name = " "
@@ -99,6 +109,11 @@ module "records" {
99
109
records = [
100
110
" 10.10.10.10" ,
101
111
]
112
+ set_identifier = " dev"
113
+ cidr_routing_policy = {
114
+ collection_id = aws_route53_cidr_collection.example.id
115
+ location_name = " *"
116
+ }
102
117
},
103
118
{
104
119
key = " s3-bucket"
@@ -514,3 +529,7 @@ resource "aws_route53_resolver_rule" "sys" {
514
529
domain_name = " sys-example.com"
515
530
rule_type = " SYSTEM"
516
531
}
532
+
533
+ resource "aws_route53_cidr_collection" "example" {
534
+ name = " collection-1"
535
+ }
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ terraform {
4
4
required_providers {
5
5
aws = {
6
6
source = " hashicorp/aws"
7
- version = " >= 5.37 "
7
+ version = " >= 5.91 "
8
8
}
9
9
}
10
10
}
Original file line number Diff line number Diff line change @@ -48,13 +48,13 @@ module "zones" {
48
48
| Name | Version |
49
49
| ------| ---------|
50
50
| <a name =" requirement_terraform " ></a > [ terraform] ( #requirement\_ terraform ) | >= 1.3.2 |
51
- | <a name =" requirement_aws " ></a > [ aws] ( #requirement\_ aws ) | >= 3.56 |
51
+ | <a name =" requirement_aws " ></a > [ aws] ( #requirement\_ aws ) | >= 5.91 |
52
52
53
53
## Providers
54
54
55
55
| Name | Version |
56
56
| ------| ---------|
57
- | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | >= 3.56 |
57
+ | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | >= 5.91 |
58
58
59
59
## Modules
60
60
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ terraform {
4
4
required_providers {
5
5
aws = {
6
6
source = " hashicorp/aws"
7
- version = " >= 3.56 "
7
+ version = " >= 5.91 "
8
8
}
9
9
}
10
10
}
Original file line number Diff line number Diff line change @@ -32,13 +32,13 @@ records_jsonencoded = jsonencode([
32
32
| Name | Version |
33
33
| ------| ---------|
34
34
| <a name =" requirement_terraform " ></a > [ terraform] ( #requirement\_ terraform ) | >= 1.3.2 |
35
- | <a name =" requirement_aws " ></a > [ aws] ( #requirement\_ aws ) | >= 5.37 |
35
+ | <a name =" requirement_aws " ></a > [ aws] ( #requirement\_ aws ) | >= 5.91 |
36
36
37
37
## Providers
38
38
39
39
| Name | Version |
40
40
| ------| ---------|
41
- | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | >= 5.37 |
41
+ | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | >= 5.91 |
42
42
43
43
## Modules
44
44
Original file line number Diff line number Diff line change @@ -91,4 +91,23 @@ resource "aws_route53_record" "this" {
91
91
}
92
92
}
93
93
}
94
+
95
+ dynamic "cidr_routing_policy" {
96
+ for_each = try ([each . value . cidr_routing_policy ], [])
97
+
98
+ content {
99
+ collection_id = cidr_routing_policy. value . collection_id
100
+ location_name = cidr_routing_policy. value . location_name
101
+ }
102
+ }
103
+
104
+ dynamic "timeouts" {
105
+ for_each = try ([each . value . timeouts ], [])
106
+
107
+ content {
108
+ create = try (timeouts. value . create , null )
109
+ update = try (timeouts. value . update , null )
110
+ delete = try (timeouts. value . delete , null )
111
+ }
112
+ }
94
113
}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ terraform {
4
4
required_providers {
5
5
aws = {
6
6
source = " hashicorp/aws"
7
- version = " >= 5.37 "
7
+ version = " >= 5.91 "
8
8
}
9
9
}
10
10
}
Original file line number Diff line number Diff line change @@ -8,13 +8,13 @@ This module creates Route53 Resolver Endpoints.
8
8
| Name | Version |
9
9
| ------| ---------|
10
10
| <a name =" requirement_terraform " ></a > [ terraform] ( #requirement\_ terraform ) | >= 1.3.2 |
11
- | <a name =" requirement_aws " ></a > [ aws] ( #requirement\_ aws ) | >= 5.32 |
11
+ | <a name =" requirement_aws " ></a > [ aws] ( #requirement\_ aws ) | >= 5.91 |
12
12
13
13
## Providers
14
14
15
15
| Name | Version |
16
16
| ------| ---------|
17
- | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | >= 5.32 |
17
+ | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | >= 5.91 |
18
18
19
19
## Modules
20
20
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ terraform {
4
4
required_providers {
5
5
aws = {
6
6
source = " hashicorp/aws"
7
- version = " >= 5.32 "
7
+ version = " >= 5.91 "
8
8
}
9
9
}
10
10
}
Original file line number Diff line number Diff line change @@ -32,13 +32,13 @@ module "resolver_rule_associations" {
32
32
| Name | Version |
33
33
| ------| ---------|
34
34
| <a name =" requirement_terraform " ></a > [ terraform] ( #requirement\_ terraform ) | >= 1.3.2 |
35
- | <a name =" requirement_aws " ></a > [ aws] ( #requirement\_ aws ) | >= 3.56 |
35
+ | <a name =" requirement_aws " ></a > [ aws] ( #requirement\_ aws ) | >= 5.91 |
36
36
37
37
## Providers
38
38
39
39
| Name | Version |
40
40
| ------| ---------|
41
- | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | >= 3.56 |
41
+ | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | >= 5.91 |
42
42
43
43
## Modules
44
44
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ terraform {
4
4
required_providers {
5
5
aws = {
6
6
source = " hashicorp/aws"
7
- version = " >= 3.56 "
7
+ version = " >= 5.91 "
8
8
}
9
9
}
10
10
}
Original file line number Diff line number Diff line change @@ -41,14 +41,14 @@ module "zone_cross_account_vpc_association" {
41
41
| Name | Version |
42
42
| ------| ---------|
43
43
| <a name =" requirement_terraform " ></a > [ terraform] ( #requirement\_ terraform ) | >= 1.3.2 |
44
- | <a name =" requirement_aws " ></a > [ aws] ( #requirement\_ aws ) | >= 3.56 |
44
+ | <a name =" requirement_aws " ></a > [ aws] ( #requirement\_ aws ) | >= 5.91 |
45
45
46
46
## Providers
47
47
48
48
| Name | Version |
49
49
| ------| ---------|
50
- | <a name =" provider_aws.r53_owner " ></a > [ aws.r53\_ owner] ( #provider\_ aws.r53\_ owner ) | >= 3.56 |
51
- | <a name =" provider_aws.vpc_owner " ></a > [ aws.vpc\_ owner] ( #provider\_ aws.vpc\_ owner ) | >= 3.56 |
50
+ | <a name =" provider_aws.r53_owner " ></a > [ aws.r53\_ owner] ( #provider\_ aws.r53\_ owner ) | >= 5.91 |
51
+ | <a name =" provider_aws.vpc_owner " ></a > [ aws.vpc\_ owner] ( #provider\_ aws.vpc\_ owner ) | >= 5.91 |
52
52
53
53
## Modules
54
54
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ terraform {
4
4
required_providers {
5
5
aws = {
6
6
source = " hashicorp/aws"
7
- version = " >= 3.56 "
7
+ version = " >= 5.91 "
8
8
configuration_aliases = [aws.r53_owner, aws.vpc_owner]
9
9
}
10
10
}
Original file line number Diff line number Diff line change @@ -8,13 +8,13 @@ This module creates Route53 zones.
8
8
| Name | Version |
9
9
| ------| ---------|
10
10
| <a name =" requirement_terraform " ></a > [ terraform] ( #requirement\_ terraform ) | >= 1.3.2 |
11
- | <a name =" requirement_aws " ></a > [ aws] ( #requirement\_ aws ) | >= 4.36.0 |
11
+ | <a name =" requirement_aws " ></a > [ aws] ( #requirement\_ aws ) | >= 5.91 |
12
12
13
13
## Providers
14
14
15
15
| Name | Version |
16
16
| ------| ---------|
17
- | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | >= 4.36.0 |
17
+ | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | >= 5.91 |
18
18
19
19
## Modules
20
20
Original file line number Diff line number Diff line change @@ -20,4 +20,14 @@ resource "aws_route53_zone" "this" {
20
20
lookup (each. value , " tags" , {}),
21
21
var. tags
22
22
)
23
+
24
+ dynamic "timeouts" {
25
+ for_each = try ([each . value . timeouts ], [])
26
+
27
+ content {
28
+ create = try (timeouts. value . create , null )
29
+ update = try (timeouts. value . update , null )
30
+ delete = try (timeouts. value . delete , null )
31
+ }
32
+ }
23
33
}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ terraform {
4
4
required_providers {
5
5
aws = {
6
6
source = " hashicorp/aws"
7
- version = " >= 4.36.0 "
7
+ version = " >= 5.91 "
8
8
}
9
9
}
10
10
}
You can’t perform that action at this time.
0 commit comments