Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/workflows/terraform-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Check out the codebase
uses: actions/checkout@v5
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Check out the codebase
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.ref }}

- name: Render terraform docs inside the README.md and push changes back to PR branch
uses: terraform-docs/gh-actions@v1.4.1
with:
working-dir: .
output-file: README.md
output-method: inject
git-push: "true"
- name: Render terraform docs inside the README.md and push changes back to PR branch
uses: terraform-docs/gh-actions@v1.4.1
with:
working-dir: .
output-file: README.md
output-method: inject
git-push: "true"
6 changes: 1 addition & 5 deletions .tflint.hcl
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
plugin "aws" {
enabled = true
version = "0.30.0"
version = "0.45.0"
source = "github.com/terraform-linters/tflint-ruleset-aws"
}

config {
module = true
}
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ Config parameters are minimal. This module is designed for the author's use but
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.46.0 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 6.5.0 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.46.0 |
| <a name="provider_aws.us-east-1"></a> [aws.us-east-1](#provider\_aws.us-east-1) | >= 5.46.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 6.5.0 |
| <a name="provider_aws.us-east-1"></a> [aws.us-east-1](#provider\_aws.us-east-1) | >= 6.5.0 |

## Modules

Expand Down Expand Up @@ -51,11 +51,13 @@ No modules.
|------|-------------|------|---------|:--------:|
| <a name="input_bucket_name"></a> [bucket\_name](#input\_bucket\_name) | S3 bucket name | `string` | n/a | yes |
| <a name="input_bucket_name_cloudfront_logs"></a> [bucket\_name\_cloudfront\_logs](#input\_bucket\_name\_cloudfront\_logs) | S3 bucket name for CloudFront logs | `string` | n/a | yes |
| <a name="input_cloudfront_logs_expiration_days"></a> [cloudfront\_logs\_expiration\_days](#input\_cloudfront\_logs\_expiration\_days) | days to keep CloudFront logs | `number` | n/a | yes |
| <a name="input_cloudfront_logs_expiration_days"></a> [cloudfront\_logs\_expiration\_days](#input\_cloudfront\_logs\_expiration\_days) | days to keep CloudFront logs | `number` | `90` | no |
| <a name="input_cloudfront_logs_prefix"></a> [cloudfront\_logs\_prefix](#input\_cloudfront\_logs\_prefix) | S3 prefix for CloudFront logs | `string` | n/a | yes |
| <a name="input_domain_name"></a> [domain\_name](#input\_domain\_name) | Domain name of the site / existing Route53 hosted zone name | `string` | n/a | yes |

## Outputs

No outputs.
| Name | Description |
|------|-------------|
| <a name="output_cloudfront_distribution_id"></a> [cloudfront\_distribution\_id](#output\_cloudfront\_distribution\_id) | n/a |
<!-- END_TF_DOCS -->
3 changes: 3 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
output "cloudfront_distribution_id" {
value = aws_cloudfront_distribution.site.id
}
6 changes: 6 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
]
}
4 changes: 2 additions & 2 deletions terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ terraform {

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 5.46.0"
source = "hashicorp/aws"
version = ">= 6.5.0"
configuration_aliases = [aws.us-east-1]
}
}
Expand Down
1 change: 1 addition & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ variable "cloudfront_logs_prefix" {
variable "cloudfront_logs_expiration_days" {
description = "days to keep CloudFront logs"
type = number
default = 90
}