diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d01ce81..24dd5c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,13 +13,13 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - activity: ["0.13.7", "0.14.11", "1.0.11"] + activity: ["1.0.11", "1.1.9", "1.2.9", "1.3.10", "1.4.7", "1.5.7"] steps: - name: Checkout uses: actions/checkout@v3 - name: Setup terraform ${{ matrix.activity }} - uses: hashicorp/setup-terraform@v2 + uses: hashicorp/setup-terraform@v3 with: terraform_version: ${{ matrix.activity }} diff --git a/README.md b/README.md index bc459c9..bb0283d 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ A module to create application secrets stored in [AWS Secrets Manager](https://a ## Prerequisites -* [Terraform](https://www.terraform.io/downloads.html) (version `0.13.7` or higher) +* [Terraform](https://www.terraform.io/downloads.html) (version `1.0.0` or higher) * [AWS provider](https://www.terraform.io/docs/providers/aws/) (version `2.60` or higher) ## Example usage @@ -210,17 +210,17 @@ module "user" { ## Inputs -| Name | Description | Type | Default | Required | -| ------------ | -------------------------------------- | ------------ | ----------- | --------- | -| `app_name` | Application name | string | `null` | yes | -| `aws_region` | AWS region | string | `us-east-2` | no | -| `secrets` | List of objects of [secrets](#secrets) | list(object) | `null` | yes | -| `tags` | Key-value map of tags | map(string) | `{}` | no | +| Name | Description | Type | Default | Required | +|:-------------|:---------------------------------------|:-------------|:------------|:---------| +| `app_name` | Application name | string | `null` | yes | +| `aws_region` | AWS region | string | `us-east-2` | no | +| `secrets` | List of objects of [secrets](#secrets) | list(object) | `null` | yes | +| `tags` | Key-value map of tags | map(string) | `{}` | no | ### Secrets | Name | Description | Type | Default | -| -------------- | ----------------------------------------------------- | ------ | ------- | +|:---------------|:------------------------------------------------------|:-------|:--------| | `name` | Secret name | string | `null` | | `value` | Secret value | string | `null` | | `allowed_arns` | List of principal ARNs that have access to the secret | list | `null` | @@ -228,7 +228,7 @@ module "user" { ## Outputs | Name | Description | Sensitive | -| --------------- | ---------------------------------------- | --------- | +|:----------------|:-----------------------------------------|:----------| | `all` | Map of names and arns of created secrets | yes | | `kms_key_arn` | The master key ARN | no | | `kms_alias_arn` | The master key alias ARN | no | diff --git a/versions.tf b/versions.tf index df06577..2710b5b 100644 --- a/versions.tf +++ b/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 0.13.7" + required_version = ">= 1.0" required_providers { aws = {