From be2e68ab32b504d7f6a2ff7ec07ed1747257c2d2 Mon Sep 17 00:00:00 2001 From: Bryant Biggs Date: Fri, 11 Oct 2024 11:09:40 -0500 Subject: [PATCH] fix: Update CI workflow versions to latest --- .github/workflows/pr-title.yml | 2 +- .github/workflows/pre-commit.yml | 14 +++++++------- .pre-commit-config.yaml | 4 ++-- README.md | 8 ++++---- examples/blue-green-deployment/README.md | 4 ++-- examples/complete-mssql/README.md | 4 ++-- examples/complete-mysql/README.md | 4 ++-- examples/complete-oracle/README.md | 4 ++-- examples/complete-postgres/README.md | 4 ++-- examples/cross-region-replica-postgres/README.md | 4 ++-- examples/enhanced-monitoring/README.md | 4 ++-- examples/groups/README.md | 4 ++-- examples/replica-mysql/README.md | 4 ++-- examples/replica-postgres/README.md | 4 ++-- examples/role-association-postgres/README.md | 4 ++-- examples/s3-import-mysql/README.md | 4 ++-- modules/db_instance/README.md | 6 +++--- modules/db_instance_role_association/README.md | 4 ++-- modules/db_option_group/README.md | 4 ++-- modules/db_parameter_group/README.md | 4 ++-- modules/db_subnet_group/README.md | 4 ++-- 21 files changed, 49 insertions(+), 49 deletions(-) diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml index 3973df44..1e50760e 100644 --- a/.github/workflows/pr-title.yml +++ b/.github/workflows/pr-title.yml @@ -14,7 +14,7 @@ jobs: steps: # Please look up the latest version from # https://github.com/amannn/action-semantic-pull-request/releases - - uses: amannn/action-semantic-pull-request@v5.4.0 + - uses: amannn/action-semantic-pull-request@v5.5.3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index c2632d1a..a19ff831 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -7,8 +7,8 @@ on: - master env: - TERRAFORM_DOCS_VERSION: v0.16.0 - TFLINT_VERSION: v0.50.3 + TERRAFORM_DOCS_VERSION: v0.19.0 + TFLINT_VERSION: v0.53.0 jobs: collectInputs: @@ -45,14 +45,14 @@ jobs: - name: Terraform min/max versions id: minMax - uses: clowdhaus/terraform-min-max@v1.3.0 + uses: clowdhaus/terraform-min-max@v1.3.1 with: directory: ${{ matrix.directory }} - name: Pre-commit Terraform ${{ steps.minMax.outputs.minVersion }} # Run only validate pre-commit check on min version supported if: ${{ matrix.directory != '.' }} - uses: clowdhaus/terraform-composite-actions/pre-commit@v1.9.0 + uses: clowdhaus/terraform-composite-actions/pre-commit@v1.11.1 with: terraform-version: ${{ steps.minMax.outputs.minVersion }} tflint-version: ${{ env.TFLINT_VERSION }} @@ -61,7 +61,7 @@ jobs: - name: Pre-commit Terraform ${{ steps.minMax.outputs.minVersion }} # Run only validate pre-commit check on min version supported if: ${{ matrix.directory == '.' }} - uses: clowdhaus/terraform-composite-actions/pre-commit@v1.9.0 + uses: clowdhaus/terraform-composite-actions/pre-commit@v1.11.1 with: terraform-version: ${{ steps.minMax.outputs.minVersion }} tflint-version: ${{ env.TFLINT_VERSION }} @@ -88,10 +88,10 @@ jobs: - name: Terraform min/max versions id: minMax - uses: clowdhaus/terraform-min-max@v1.3.0 + uses: clowdhaus/terraform-min-max@v1.3.1 - name: Pre-commit Terraform ${{ steps.minMax.outputs.maxVersion }} - uses: clowdhaus/terraform-composite-actions/pre-commit@v1.9.0 + uses: clowdhaus/terraform-composite-actions/pre-commit@v1.11.1 with: terraform-version: ${{ steps.minMax.outputs.maxVersion }} tflint-version: ${{ env.TFLINT_VERSION }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 131bd1a4..a6cd3694 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/antonbabenko/pre-commit-terraform - rev: v1.92.2 + rev: v1.96.1 hooks: - id: terraform_fmt - id: terraform_docs @@ -23,7 +23,7 @@ repos: - '--args=--only=terraform_workspace_remote' - id: terraform_validate - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-merge-conflict - id: end-of-file-fixer diff --git a/README.md b/README.md index ce209478..0f1367f7 100644 --- a/README.md +++ b/README.md @@ -204,7 +204,7 @@ Users have the ability to: 1. This module does not create RDS security group. Use [terraform-aws-security-group](https://github.com/terraform-aws-modules/terraform-aws-security-group) module for this. 2. For an RDS instance with `storage_type` using `gp3`, be aware that `iops` and `storage_throughput` cannot be specified if the `allocated_storage` value is below a per-`engine` threshold. See the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#gp3-storage) for details. - + ## Requirements | Name | Version | @@ -295,7 +295,7 @@ No resources. | [master\_user\_password\_rotation\_automatically\_after\_days](#input\_master\_user\_password\_rotation\_automatically\_after\_days) | Specifies the number of days between automatic scheduled rotations of the secret. Either automatically\_after\_days or schedule\_expression must be specified. | `number` | `null` | no | | [master\_user\_password\_rotation\_duration](#input\_master\_user\_password\_rotation\_duration) | The length of the rotation window in hours. For example, 3h for a three hour window. | `string` | `null` | no | | [master\_user\_password\_rotation\_schedule\_expression](#input\_master\_user\_password\_rotation\_schedule\_expression) | A cron() or rate() expression that defines the schedule for rotating your secret. Either automatically\_after\_days or schedule\_expression must be specified. | `string` | `null` | no | -| [master\_user\_secret\_kms\_key\_id](#input\_master\_user\_secret\_kms\_key\_id) | The key ARN, key ID, alias ARN or alias name for the KMS key to encrypt the master user password secret in Secrets Manager.
If not specified, the default KMS key for your Amazon Web Services account is used. | `string` | `null` | no | +| [master\_user\_secret\_kms\_key\_id](#input\_master\_user\_secret\_kms\_key\_id) | The key ARN, key ID, alias ARN or alias name for the KMS key to encrypt the master user password secret in Secrets Manager.
If not specified, the default KMS key for your Amazon Web Services account is used. | `string` | `null` | no | | [max\_allocated\_storage](#input\_max\_allocated\_storage) | Specifies the value for Storage Autoscaling | `number` | `0` | no | | [monitoring\_interval](#input\_monitoring\_interval) | The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0. Valid Values: 0, 1, 5, 10, 15, 30, 60 | `number` | `0` | no | | [monitoring\_role\_arn](#input\_monitoring\_role\_arn) | The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to CloudWatch Logs. Must be specified if monitoring\_interval is non-zero | `string` | `null` | no | @@ -317,7 +317,7 @@ No resources. | [parameter\_group\_skip\_destroy](#input\_parameter\_group\_skip\_destroy) | Set to true if you do not wish the parameter group to be deleted at destroy time, and instead just remove the parameter group from the Terraform state | `bool` | `null` | no | | [parameter\_group\_use\_name\_prefix](#input\_parameter\_group\_use\_name\_prefix) | Determines whether to use `parameter_group_name` as is or create a unique name beginning with the `parameter_group_name` as the prefix | `bool` | `true` | no | | [parameters](#input\_parameters) | A list of DB parameters (map) to apply | `list(map(string))` | `[]` | no | -| [password](#input\_password) | Password for the master DB user. Note that this may show up in logs, and it will be stored in the state file.
The password provided will not be used if `manage_master_user_password` is set to true. | `string` | `null` | no | +| [password](#input\_password) | Password for the master DB user. Note that this may show up in logs, and it will be stored in the state file.
The password provided will not be used if `manage_master_user_password` is set to true. | `string` | `null` | no | | [performance\_insights\_enabled](#input\_performance\_insights\_enabled) | Specifies whether Performance Insights are enabled | `bool` | `false` | no | | [performance\_insights\_kms\_key\_id](#input\_performance\_insights\_kms\_key\_id) | The ARN for the KMS key to encrypt Performance Insights data | `string` | `null` | no | | [performance\_insights\_retention\_period](#input\_performance\_insights\_retention\_period) | The amount of time in days to retain Performance Insights data. Valid values are `7`, `731` (2 years) or a multiple of `31` | `number` | `7` | no | @@ -378,7 +378,7 @@ No resources. | [db\_subnet\_group\_id](#output\_db\_subnet\_group\_id) | The db subnet group name | | [enhanced\_monitoring\_iam\_role\_arn](#output\_enhanced\_monitoring\_iam\_role\_arn) | The Amazon Resource Name (ARN) specifying the monitoring role | | [enhanced\_monitoring\_iam\_role\_name](#output\_enhanced\_monitoring\_iam\_role\_name) | The name of the monitoring role | - + ## Authors diff --git a/examples/blue-green-deployment/README.md b/examples/blue-green-deployment/README.md index 0f73e77e..95a1d45a 100644 --- a/examples/blue-green-deployment/README.md +++ b/examples/blue-green-deployment/README.md @@ -21,7 +21,7 @@ $ terraform apply Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources. - + ## Requirements | Name | Version | @@ -95,4 +95,4 @@ No inputs. | [postgres\_db\_parameter\_group\_id](#output\_postgres\_db\_parameter\_group\_id) | The db parameter group id | | [postgres\_db\_subnet\_group\_arn](#output\_postgres\_db\_subnet\_group\_arn) | The ARN of the db subnet group | | [postgres\_db\_subnet\_group\_id](#output\_postgres\_db\_subnet\_group\_id) | The db subnet group name | - + diff --git a/examples/complete-mssql/README.md b/examples/complete-mssql/README.md index 4919337f..bb11310e 100644 --- a/examples/complete-mssql/README.md +++ b/examples/complete-mssql/README.md @@ -14,7 +14,7 @@ $ terraform apply Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources. - + ## Requirements | Name | Version | @@ -78,4 +78,4 @@ No inputs. | [db\_parameter\_group\_id](#output\_db\_parameter\_group\_id) | The db parameter group id | | [db\_subnet\_group\_arn](#output\_db\_subnet\_group\_arn) | The ARN of the db subnet group | | [db\_subnet\_group\_id](#output\_db\_subnet\_group\_id) | The db subnet group name | - + diff --git a/examples/complete-mysql/README.md b/examples/complete-mysql/README.md index 25c6c12a..bb4c4aaf 100644 --- a/examples/complete-mysql/README.md +++ b/examples/complete-mysql/README.md @@ -14,7 +14,7 @@ $ terraform apply Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources. - + ## Requirements | Name | Version | @@ -91,4 +91,4 @@ No inputs. | [db\_parameter\_group\_id](#output\_db\_parameter\_group\_id) | The db parameter group id | | [db\_subnet\_group\_arn](#output\_db\_subnet\_group\_arn) | The ARN of the db subnet group | | [db\_subnet\_group\_id](#output\_db\_subnet\_group\_id) | The db subnet group name | - + diff --git a/examples/complete-oracle/README.md b/examples/complete-oracle/README.md index c9465179..6bf315b8 100644 --- a/examples/complete-oracle/README.md +++ b/examples/complete-oracle/README.md @@ -14,7 +14,7 @@ $ terraform apply Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources. - + ## Requirements | Name | Version | @@ -73,4 +73,4 @@ No inputs. | [db\_parameter\_group\_id](#output\_db\_parameter\_group\_id) | The db parameter group id | | [db\_subnet\_group\_arn](#output\_db\_subnet\_group\_arn) | The ARN of the db subnet group | | [db\_subnet\_group\_id](#output\_db\_subnet\_group\_id) | The db subnet group name | - + diff --git a/examples/complete-postgres/README.md b/examples/complete-postgres/README.md index 8190933b..8f05a95d 100644 --- a/examples/complete-postgres/README.md +++ b/examples/complete-postgres/README.md @@ -14,7 +14,7 @@ $ terraform apply Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources. - + ## Requirements | Name | Version | @@ -96,4 +96,4 @@ No inputs. | [db\_parameter\_group\_id](#output\_db\_parameter\_group\_id) | The db parameter group id | | [db\_subnet\_group\_arn](#output\_db\_subnet\_group\_arn) | The ARN of the db subnet group | | [db\_subnet\_group\_id](#output\_db\_subnet\_group\_id) | The db subnet group name | - + diff --git a/examples/cross-region-replica-postgres/README.md b/examples/cross-region-replica-postgres/README.md index 5897457c..3b15fc5c 100644 --- a/examples/cross-region-replica-postgres/README.md +++ b/examples/cross-region-replica-postgres/README.md @@ -14,7 +14,7 @@ $ terraform apply Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources. - + ## Requirements | Name | Version | @@ -84,4 +84,4 @@ No inputs. | [replica\_db\_instance\_resource\_id](#output\_replica\_db\_instance\_resource\_id) | The RDS Resource ID of this instance | | [replica\_db\_instance\_status](#output\_replica\_db\_instance\_status) | The RDS instance status | | [replica\_db\_instance\_username](#output\_replica\_db\_instance\_username) | The replica username for the database | - + diff --git a/examples/enhanced-monitoring/README.md b/examples/enhanced-monitoring/README.md index ee369fd3..f6d030d4 100644 --- a/examples/enhanced-monitoring/README.md +++ b/examples/enhanced-monitoring/README.md @@ -16,7 +16,7 @@ $ terraform apply Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources. - + ## Requirements | Name | Version | @@ -74,4 +74,4 @@ No inputs. | [db\_parameter\_group\_id](#output\_db\_parameter\_group\_id) | The db parameter group id | | [db\_subnet\_group\_arn](#output\_db\_subnet\_group\_arn) | The ARN of the db subnet group | | [db\_subnet\_group\_id](#output\_db\_subnet\_group\_id) | The db subnet group name | - + diff --git a/examples/groups/README.md b/examples/groups/README.md index 9e9d7983..ab5d514e 100644 --- a/examples/groups/README.md +++ b/examples/groups/README.md @@ -14,7 +14,7 @@ $ terraform apply Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources. - + ## Requirements | Name | Version | @@ -68,4 +68,4 @@ No inputs. | [default\_postgres\_option\_group\_id](#output\_default\_postgres\_option\_group\_id) | The ID of the default PostgreSQL option group (should be blank) | | [default\_postgres\_parameter\_group\_arn](#output\_default\_postgres\_parameter\_group\_arn) | The ARN of the db parameter group | | [default\_postgres\_parameter\_group\_id](#output\_default\_postgres\_parameter\_group\_id) | The db parameter group id | - + diff --git a/examples/replica-mysql/README.md b/examples/replica-mysql/README.md index cb017b0b..dfc9c42a 100644 --- a/examples/replica-mysql/README.md +++ b/examples/replica-mysql/README.md @@ -14,7 +14,7 @@ $ terraform apply Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources. - + ## Requirements | Name | Version | @@ -81,4 +81,4 @@ No inputs. | [replica\_db\_instance\_resource\_id](#output\_replica\_db\_instance\_resource\_id) | The RDS Resource ID of this instance | | [replica\_db\_instance\_status](#output\_replica\_db\_instance\_status) | The RDS instance status | | [replica\_db\_instance\_username](#output\_replica\_db\_instance\_username) | The replica username for the database | - + diff --git a/examples/replica-postgres/README.md b/examples/replica-postgres/README.md index 45d226a7..2013959b 100644 --- a/examples/replica-postgres/README.md +++ b/examples/replica-postgres/README.md @@ -14,7 +14,7 @@ $ terraform apply Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources. - + ## Requirements | Name | Version | @@ -81,4 +81,4 @@ No inputs. | [replica\_db\_instance\_resource\_id](#output\_replica\_db\_instance\_resource\_id) | The RDS Resource ID of this instance | | [replica\_db\_instance\_status](#output\_replica\_db\_instance\_status) | The RDS instance status | | [replica\_db\_instance\_username](#output\_replica\_db\_instance\_username) | The replica username for the database | - + diff --git a/examples/role-association-postgres/README.md b/examples/role-association-postgres/README.md index 6df22793..49a9cf67 100644 --- a/examples/role-association-postgres/README.md +++ b/examples/role-association-postgres/README.md @@ -4,7 +4,7 @@ Configuration in this directory creates a DB instance role association to invoke Further database configurations for creating extension and invoking from postgres: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/PostgreSQL-Lambda.html - + ## Requirements | Name | Version | @@ -67,4 +67,4 @@ No inputs. | [db\_parameter\_group\_id](#output\_db\_parameter\_group\_id) | The db parameter group id | | [db\_subnet\_group\_arn](#output\_db\_subnet\_group\_arn) | The ARN of the db subnet group | | [db\_subnet\_group\_id](#output\_db\_subnet\_group\_id) | The db subnet group name | - + diff --git a/examples/s3-import-mysql/README.md b/examples/s3-import-mysql/README.md index 8d3cc24b..9eeb76f7 100644 --- a/examples/s3-import-mysql/README.md +++ b/examples/s3-import-mysql/README.md @@ -43,7 +43,7 @@ $ mv /tmp/backup ./backup Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources. - + ## Requirements | Name | Version | @@ -103,4 +103,4 @@ No inputs. | [db\_parameter\_group\_id](#output\_db\_parameter\_group\_id) | The db parameter group id | | [db\_subnet\_group\_arn](#output\_db\_subnet\_group\_arn) | The ARN of the db subnet group | | [db\_subnet\_group\_id](#output\_db\_subnet\_group\_id) | The db subnet group name | - + diff --git a/modules/db_instance/README.md b/modules/db_instance/README.md index 78815666..9c851dae 100644 --- a/modules/db_instance/README.md +++ b/modules/db_instance/README.md @@ -1,6 +1,6 @@ # aws_db_instance - + ## Requirements | Name | Version | @@ -86,7 +86,7 @@ No modules. | [master\_user\_password\_rotation\_automatically\_after\_days](#input\_master\_user\_password\_rotation\_automatically\_after\_days) | Specifies the number of days between automatic scheduled rotations of the secret. Either automatically\_after\_days or schedule\_expression must be specified. | `number` | `null` | no | | [master\_user\_password\_rotation\_duration](#input\_master\_user\_password\_rotation\_duration) | The length of the rotation window in hours. For example, 3h for a three hour window. | `string` | `null` | no | | [master\_user\_password\_rotation\_schedule\_expression](#input\_master\_user\_password\_rotation\_schedule\_expression) | A cron() or rate() expression that defines the schedule for rotating your secret. Either automatically\_after\_days or schedule\_expression must be specified. | `string` | `null` | no | -| [master\_user\_secret\_kms\_key\_id](#input\_master\_user\_secret\_kms\_key\_id) | The key ARN, key ID, alias ARN or alias name for the KMS key to encrypt the master user password secret in Secrets Manager.
If not specified, the default KMS key for your Amazon Web Services account is used. | `string` | `null` | no | +| [master\_user\_secret\_kms\_key\_id](#input\_master\_user\_secret\_kms\_key\_id) | The key ARN, key ID, alias ARN or alias name for the KMS key to encrypt the master user password secret in Secrets Manager.
If not specified, the default KMS key for your Amazon Web Services account is used. | `string` | `null` | no | | [max\_allocated\_storage](#input\_max\_allocated\_storage) | Specifies the value for Storage Autoscaling | `number` | `0` | no | | [monitoring\_interval](#input\_monitoring\_interval) | The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0. Valid Values: 0, 1, 5, 10, 15, 30, 60. | `number` | `0` | no | | [monitoring\_role\_arn](#input\_monitoring\_role\_arn) | The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to CloudWatch Logs. Must be specified if monitoring\_interval is non-zero. | `string` | `null` | no | @@ -152,4 +152,4 @@ No modules. | [db\_listener\_endpoint](#output\_db\_listener\_endpoint) | Specifies the listener connection endpoint for SQL Server Always On | | [enhanced\_monitoring\_iam\_role\_arn](#output\_enhanced\_monitoring\_iam\_role\_arn) | The Amazon Resource Name (ARN) specifying the monitoring role | | [enhanced\_monitoring\_iam\_role\_name](#output\_enhanced\_monitoring\_iam\_role\_name) | The name of the monitoring role | - + diff --git a/modules/db_instance_role_association/README.md b/modules/db_instance_role_association/README.md index 8669de3c..37d1a4ae 100644 --- a/modules/db_instance_role_association/README.md +++ b/modules/db_instance_role_association/README.md @@ -1,6 +1,6 @@ # aws_db_instance_role_association - + ## Requirements | Name | Version | @@ -38,4 +38,4 @@ No modules. | Name | Description | |------|-------------| | [db\_instance\_role\_association\_id](#output\_db\_instance\_role\_association\_id) | DB Instance Identifier and IAM Role ARN separated by a comma | - + diff --git a/modules/db_option_group/README.md b/modules/db_option_group/README.md index e216be06..163b0059 100644 --- a/modules/db_option_group/README.md +++ b/modules/db_option_group/README.md @@ -1,6 +1,6 @@ # aws_db_option_group - + ## Requirements | Name | Version | @@ -45,4 +45,4 @@ No modules. |------|-------------| | [db\_option\_group\_arn](#output\_db\_option\_group\_arn) | The ARN of the db option group | | [db\_option\_group\_id](#output\_db\_option\_group\_id) | The db option group id | - + diff --git a/modules/db_parameter_group/README.md b/modules/db_parameter_group/README.md index 2e006eb5..6c923c60 100644 --- a/modules/db_parameter_group/README.md +++ b/modules/db_parameter_group/README.md @@ -1,6 +1,6 @@ # aws_db_parameter_group - + ## Requirements | Name | Version | @@ -43,4 +43,4 @@ No modules. |------|-------------| | [db\_parameter\_group\_arn](#output\_db\_parameter\_group\_arn) | The ARN of the db parameter group | | [db\_parameter\_group\_id](#output\_db\_parameter\_group\_id) | The db parameter group id | - + diff --git a/modules/db_subnet_group/README.md b/modules/db_subnet_group/README.md index 7d56529e..98fbed54 100644 --- a/modules/db_subnet_group/README.md +++ b/modules/db_subnet_group/README.md @@ -1,6 +1,6 @@ # aws_db_subnet_group - + ## Requirements | Name | Version | @@ -41,4 +41,4 @@ No modules. |------|-------------| | [db\_subnet\_group\_arn](#output\_db\_subnet\_group\_arn) | The ARN of the db subnet group | | [db\_subnet\_group\_id](#output\_db\_subnet\_group\_id) | The db subnet group name | - +