Skip to content

Commit 964a6eb

Browse files
Ran pre-commit
1 parent edfd283 commit 964a6eb

File tree

8 files changed

+21
-9
lines changed

8 files changed

+21
-9
lines changed

README.md

Lines changed: 2 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) | >= 0.13.1 |
110-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.12.0 |
110+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.82.0 |
111111

112112
## Providers
113113

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

118118
## Modules
119119

examples/complete/README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ Note that this example may create resources which cost money. Run `terraform des
3535

3636
| Name | Version |
3737
|------|---------|
38-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.82.2 |
38+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.82 |
39+
| <a name="provider_null"></a> [null](#provider\_null) | >= 2.0 |
40+
| <a name="provider_random"></a> [random](#provider\_random) | >= 2.0 |
3941

4042
## Modules
4143

@@ -44,7 +46,10 @@ Note that this example may create resources which cost money. Run `terraform des
4446
| <a name="module_acm"></a> [acm](#module\_acm) | terraform-aws-modules/acm/aws | ~> 4.0 |
4547
| <a name="module_cloudfront"></a> [cloudfront](#module\_cloudfront) | ../../ | n/a |
4648
| <a name="module_ec2"></a> [ec2](#module\_ec2) | terraform-aws-modules/ec2-instance/aws | ~> 5.0 |
49+
| <a name="module_lambda_function"></a> [lambda\_function](#module\_lambda\_function) | terraform-aws-modules/lambda/aws | ~> 7.0 |
50+
| <a name="module_log_bucket"></a> [log\_bucket](#module\_log\_bucket) | terraform-aws-modules/s3-bucket/aws | ~> 4.0 |
4751
| <a name="module_records"></a> [records](#module\_records) | terraform-aws-modules/route53/aws//modules/records | ~> 2.0 |
52+
| <a name="module_s3_one"></a> [s3\_one](#module\_s3\_one) | terraform-aws-modules/s3-bucket/aws | ~> 4.0 |
4853
| <a name="module_security_group_ec2"></a> [security\_group\_ec2](#module\_security\_group\_ec2) | terraform-aws-modules/security-group/aws | ~> 5.0 |
4954
| <a name="module_vpc"></a> [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | ~> 5.0 |
5055
| <a name="module_vpc_endpoints"></a> [vpc\_endpoints](#module\_vpc\_endpoints) | terraform-aws-modules/vpc/aws//modules/vpc-endpoints | ~> 5.0 |
@@ -53,8 +58,15 @@ Note that this example may create resources which cost money. Run `terraform des
5358

5459
| Name | Type |
5560
|------|------|
61+
| [aws_cloudfront_function.example](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfront_function) | resource |
62+
| [aws_s3_bucket_policy.bucket_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_policy) | resource |
63+
| [null_resource.download_package](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |
64+
| [random_pet.this](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/pet) | resource |
5665
| [aws_ami.al2023](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ami) | data source |
5766
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/availability_zones) | data source |
67+
| [aws_canonical_user_id.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/canonical_user_id) | data source |
68+
| [aws_cloudfront_log_delivery_canonical_user_id.cloudfront](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/cloudfront_log_delivery_canonical_user_id) | data source |
69+
| [aws_iam_policy_document.s3_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
5870
| [aws_route53_zone.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/route53_zone) | data source |
5971
| [aws_security_group.vpc_origin](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/security_group) | data source |
6072

examples/complete/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,4 +492,4 @@ data "aws_ami" "al2023" {
492492
name = "name"
493493
values = ["al2023-ami-2023*-x86_64"]
494494
}
495-
}
495+
}

examples/complete/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ output "cloudfront_origin_access_identity_iam_arns" {
6666
output "cloudfront_vpc_origin_ids" {
6767
description = "The IDS of the VPC origin created"
6868
value = module.cloudfront.cloudfront_vpc_origin_ids
69-
}
69+
}

outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,4 @@ output "cloudfront_origin_access_controls_ids" {
8686
output "cloudfront_vpc_origin_ids" {
8787
description = "The IDS of the VPC origin created"
8888
value = local.create_vpc_origin ? [for v in aws_cloudfront_vpc_origin.this : v.id] : []
89-
}
89+
}

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,4 +202,4 @@ variable "vpc_origin" {
202202
})
203203
}))
204204
default = {}
205-
}
205+
}

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.12.0"
7+
version = ">= 5.82.0"
88
}
99
}
1010
}

wrappers/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module "wrapper" {
4040
cloudfront_default_certificate = true
4141
minimum_protocol_version = "TLSv1"
4242
})
43-
vpc_origin = try(each.value.vpc_origin, var.defaults.vpc_origin, null)
43+
vpc_origin = try(each.value.vpc_origin, var.defaults.vpc_origin, {})
4444
wait_for_deployment = try(each.value.wait_for_deployment, var.defaults.wait_for_deployment, true)
4545
web_acl_id = try(each.value.web_acl_id, var.defaults.web_acl_id, null)
4646
}

0 commit comments

Comments
 (0)