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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -210,25 +210,25 @@ 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` |

## 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 |
Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 0.13.7"
required_version = ">= 1.0"

required_providers {
aws = {
Expand Down