Skip to content

Commit d46d9d4

Browse files
feat: Add anycast_ip_list_id argument to aws_cloudfront_distribution resource configuration
1 parent 2c4ae23 commit d46d9d4

File tree

6 files changed

+14
-6
lines changed

6 files changed

+14
-6
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,13 @@ ordered_cache_behavior = [{
107107
| Name | Version |
108108
|------|---------|
109109
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5.7 |
110-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.83 |
110+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.3 |
111111

112112
## Providers
113113

114114
| Name | Version |
115115
|------|---------|
116-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.83 |
116+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.3 |
117117

118118
## Modules
119119

@@ -137,6 +137,7 @@ No modules.
137137
| Name | Description | Type | Default | Required |
138138
|------|-------------|------|---------|:--------:|
139139
| <a name="input_aliases"></a> [aliases](#input\_aliases) | Extra CNAMEs (alternate domain names), if any, for this distribution. | `list(string)` | `null` | no |
140+
| <a name="input_anycast_ip_list_id"></a> [anycast\_ip\_list\_id](#input\_anycast\_ip\_list\_id) | The ID of the anycast static IP list to use for this distribution | `string` | `null` | no |
140141
| <a name="input_comment"></a> [comment](#input\_comment) | Any comments you want to include about the distribution. | `string` | `null` | no |
141142
| <a name="input_continuous_deployment_policy_id"></a> [continuous\_deployment\_policy\_id](#input\_continuous\_deployment\_policy\_id) | Identifier of a continuous deployment policy. This argument should only be set on a production distribution. | `string` | `null` | no |
142143
| <a name="input_create_distribution"></a> [create\_distribution](#input\_create\_distribution) | Controls if CloudFront distribution should be created | `bool` | `true` | no |

examples/complete/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ Note that this example may create resources which cost money. Run `terraform des
2828
| Name | Version |
2929
|------|---------|
3030
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5.7 |
31-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.83 |
31+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.3 |
3232
| <a name="requirement_null"></a> [null](#requirement\_null) | >= 2.0 |
3333
| <a name="requirement_random"></a> [random](#requirement\_random) | >= 2.0 |
3434

3535
## Providers
3636

3737
| Name | Version |
3838
|------|---------|
39-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.83 |
39+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.3 |
4040
| <a name="provider_null"></a> [null](#provider\_null) | >= 2.0 |
4141
| <a name="provider_random"></a> [random](#provider\_random) | >= 2.0 |
4242

examples/complete/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 5.83"
7+
version = ">= 6.3"
88
}
99
random = {
1010
source = "hashicorp/random"

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ resource "aws_cloudfront_distribution" "this" {
5454
count = var.create_distribution ? 1 : 0
5555

5656
aliases = var.aliases
57+
anycast_ip_list_id = var.anycast_ip_list_id
5758
comment = var.comment
5859
continuous_deployment_policy_id = var.continuous_deployment_policy_id
5960
default_root_object = var.default_root_object

variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ variable "aliases" {
4848
default = null
4949
}
5050

51+
variable "anycast_ip_list_id" {
52+
description = "The ID of the anycast static IP list to use for this distribution"
53+
type = string
54+
default = null
55+
}
56+
5157
variable "comment" {
5258
description = "Any comments you want to include about the distribution."
5359
type = string

versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 5.83"
7+
version = ">= 6.3"
88
}
99
}
1010
}

0 commit comments

Comments
 (0)