From 0bddd2a361c804176148a6d2752b2eb0e8c16a04 Mon Sep 17 00:00:00 2001 From: Vedant Pareek Date: Fri, 8 Nov 2024 11:43:29 +0530 Subject: [PATCH 1/2] Added pessimistic operator for Terraform cli and provider --- versions.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/versions.tf b/versions.tf index faef56c..750193e 100644 --- a/versions.tf +++ b/versions.tf @@ -1,13 +1,13 @@ terraform { - required_version = ">= 1.4" + required_version = "~> 1.4" required_providers { aws = { source = "hashicorp/aws" - version = ">=5.57.0" + version = "~> 5.57" } random = { source = "hashicorp/random" - version = "3.6.2" + version = "~> 3.6" } } } From dd92167d299ad5d7a22c281a92bb09f625368f92 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 8 Nov 2024 06:14:23 +0000 Subject: [PATCH 2/2] terraform-docs: automated action --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9b01398..e6a549d 100644 --- a/README.md +++ b/README.md @@ -6,16 +6,16 @@ Truefoundry AWS Control Plane Module | Name | Version | |------|---------| -| [terraform](#requirement\_terraform) | >= 1.4 | -| [aws](#requirement\_aws) | >=5.57.0 | -| [random](#requirement\_random) | 3.6.2 | +| [terraform](#requirement\_terraform) | ~> 1.4 | +| [aws](#requirement\_aws) | ~> 5.57 | +| [random](#requirement\_random) | ~> 3.6 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >=5.57.0 | -| [random](#provider\_random) | 3.6.2 | +| [aws](#provider\_aws) | ~> 5.57 | +| [random](#provider\_random) | ~> 3.6 | ## Modules @@ -41,7 +41,7 @@ Truefoundry AWS Control Plane Module | [aws_secretsmanager_secret_rotation.turefoundry_db_secret_rotation](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/secretsmanager_secret_rotation) | resource | | [aws_security_group.rds](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group) | resource | | [aws_security_group.rds-public](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group) | resource | -| [random_password.truefoundry_db_password](https://registry.terraform.io/providers/hashicorp/random/3.6.2/docs/resources/password) | resource | +| [random_password.truefoundry_db_password](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/password) | resource | | [aws_iam_policy_document.svcfoundry_access_to_ecr](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source | | [aws_iam_policy_document.svcfoundry_access_to_multitenant_ssm](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source | | [aws_iam_policy_document.svcfoundry_access_to_ssm](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |