diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index 330fbbb..6016be1 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -21,7 +21,7 @@ jobs:
matrix:
tf: [tofu, terraform]
steps:
- - uses: masterpointio/github-action-tf-test@c3b619f3bca9e4f482b9e0fb3166ab3f02d9d54c # v1.0.0
+ - uses: masterpointio/github-action-tf-test@c1e41998f67925ac3f34e0bbcfcaa4a44d1f0cd9 # v1.0.1
with:
tf_type: ${{ matrix.tf }}
aws_role_arn: ${{ vars.TF_TEST_AWS_ROLE_ARN }}
diff --git a/README.md b/README.md
index 5c36ecb..90b53ab 100644
--- a/README.md
+++ b/README.md
@@ -51,12 +51,14 @@ While the current version is specific to SOPS, future mixins will support other
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.3 |
+| [aws](#requirement\_aws) | >= 4.0 |
| [sops](#requirement\_sops) | >= 0.7 |
## Providers
| Name | Version |
|------|---------|
+| [aws](#provider\_aws) | >= 4.0 |
| [sops](#provider\_sops) | >= 0.7 |
## Modules
@@ -67,6 +69,7 @@ No modules.
| Name | Type |
|------|------|
+| [aws_ssm_parameter.ssm_secrets](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ssm_parameter) | data source |
| [sops_file.sops_secrets](https://registry.terraform.io/providers/carlpett/sops/latest/docs/data-sources/file) | data source |
## Inputs
diff --git a/tests/locals.tftest.hcl b/tests/locals.tftest.hcl
index e0683af..8e64b20 100644
--- a/tests/locals.tftest.hcl
+++ b/tests/locals.tftest.hcl
@@ -6,6 +6,14 @@ mock_provider "sops" {
}
}
+mock_provider "aws" {
+ mock_data "aws_ssm_parameter" {
+ defaults = {
+ value = "mock-ssm-value"
+ }
+ }
+}
+
run "test_empty_secret_mapping" {
command = plan
diff --git a/tests/outputs.tftest.hcl b/tests/outputs.tftest.hcl
index 317557f..0007c53 100644
--- a/tests/outputs.tftest.hcl
+++ b/tests/outputs.tftest.hcl
@@ -6,6 +6,14 @@ mock_provider "sops" {
}
}
+mock_provider "aws" {
+ mock_data "aws_ssm_parameter" {
+ defaults = {
+ value = "mock-ssm-value"
+ }
+ }
+}
+
run "test_output_structure_and_content" {
command = plan