Skip to content

Commit 25f5756

Browse files
committed
chore: Ran pre-commit hooks
1 parent 93b4236 commit 25f5756

File tree

3 files changed

+40
-8
lines changed

3 files changed

+40
-8
lines changed

Diff for: README.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,17 @@ module "cdn" {
104104
|------|---------|
105105
| aws | >= 3.28.0 |
106106

107+
## Modules
108+
109+
No Modules.
110+
111+
## Resources
112+
113+
| Name |
114+
|------|
115+
| [aws_cloudfront_distribution](https://registry.terraform.io/providers/hashicorp/aws/3.28.0/docs/resources/cloudfront_distribution) |
116+
| [aws_cloudfront_origin_access_identity](https://registry.terraform.io/providers/hashicorp/aws/3.28.0/docs/resources/cloudfront_origin_access_identity) |
117+
107118
## Inputs
108119

109120
| Name | Description | Type | Default | Required |
@@ -148,7 +159,6 @@ module "cdn" {
148159
| this\_cloudfront\_origin\_access\_identities | The origin access identities created |
149160
| this\_cloudfront\_origin\_access\_identity\_iam\_arns | The IAM arns of the origin access identities created |
150161
| this\_cloudfront\_origin\_access\_identity\_ids | The IDS of the origin access identities created |
151-
152162
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
153163

154164
## Authors

Diff for: examples/complete/README.md

+25-3
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,41 @@ Note that this example may create resources which cost money. Run `terraform des
2727
| Name | Version |
2828
|------|---------|
2929
| terraform | >= 0.12.6 |
30-
| aws | >= 3.0 |
30+
| aws | >= 3.28.0 |
3131
| null | ~> 2 |
3232
| random | ~> 2 |
3333

3434
## Providers
3535

3636
| Name | Version |
3737
|------|---------|
38-
| aws | >= 3.0 |
38+
| aws | >= 3.28.0 |
3939
| null | ~> 2 |
4040
| random | ~> 2 |
4141

42+
## Modules
43+
44+
| Name | Source | Version |
45+
|------|--------|---------|
46+
| acm | terraform-aws-modules/acm/aws | ~> 2.0 |
47+
| cloudfront | ../../ | |
48+
| lambda_function | terraform-aws-modules/lambda/aws | ~> 1.0 |
49+
| log_bucket | terraform-aws-modules/s3-bucket/aws | |
50+
| records | terraform-aws-modules/route53/aws//modules/records | |
51+
| s3_one | terraform-aws-modules/s3-bucket/aws | |
52+
53+
## Resources
54+
55+
| Name |
56+
|------|
57+
| [aws_canonical_user_id](https://registry.terraform.io/providers/hashicorp/aws/3.28.0/docs/data-sources/canonical_user_id) |
58+
| [aws_iam_policy_document](https://registry.terraform.io/providers/hashicorp/aws/3.28.0/docs/data-sources/iam_policy_document) |
59+
| [aws_route53_zone](https://registry.terraform.io/providers/hashicorp/aws/3.28.0/docs/data-sources/route53_zone) |
60+
| [aws_s3_bucket_policy](https://registry.terraform.io/providers/hashicorp/aws/3.28.0/docs/resources/s3_bucket_policy) |
61+
| [null_data_source](https://registry.terraform.io/providers/hashicorp/null/2/docs/data-sources/data_source) |
62+
| [null_resource](https://registry.terraform.io/providers/hashicorp/null/2/docs/resources/resource) |
63+
| [random_pet](https://registry.terraform.io/providers/hashicorp/random/2/docs/resources/pet) |
64+
4265
## Inputs
4366

4467
No input.
@@ -60,5 +83,4 @@ No input.
6083
| this\_cloudfront\_origin\_access\_identities | The origin access identities created |
6184
| this\_cloudfront\_origin\_access\_identity\_iam\_arns | The IAM arns of the origin access identities created |
6285
| this\_cloudfront\_origin\_access\_identity\_ids | The IDS of the origin access identities created |
63-
6486
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

Diff for: main.tf

+4-4
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ resource "aws_cloudfront_distribution" "this" {
105105
smooth_streaming = lookup(i.value, "smooth_streaming", null)
106106
trusted_signers = lookup(i.value, "trusted_signers", null)
107107

108-
cache_policy_id = lookup(i.value, "cache_policy_id", null)
109-
origin_request_policy_id = lookup(i.value, "origin_request_policy_id", null)
108+
cache_policy_id = lookup(i.value, "cache_policy_id", null)
109+
origin_request_policy_id = lookup(i.value, "origin_request_policy_id", null)
110110

111111
min_ttl = lookup(i.value, "min_ttl", null)
112112
default_ttl = lookup(i.value, "default_ttl", null)
@@ -152,8 +152,8 @@ resource "aws_cloudfront_distribution" "this" {
152152
smooth_streaming = lookup(i.value, "smooth_streaming", null)
153153
trusted_signers = lookup(i.value, "trusted_signers", null)
154154

155-
cache_policy_id = lookup(i.value, "cache_policy_id", null)
156-
origin_request_policy_id = lookup(i.value, "origin_request_policy_id", null)
155+
cache_policy_id = lookup(i.value, "cache_policy_id", null)
156+
origin_request_policy_id = lookup(i.value, "origin_request_policy_id", null)
157157

158158
min_ttl = lookup(i.value, "min_ttl", null)
159159
default_ttl = lookup(i.value, "default_ttl", null)

0 commit comments

Comments
 (0)