From 08f664327b6f25c11f239588cd8d19537fea706a Mon Sep 17 00:00:00 2001 From: WestonPlatter Date: Fri, 9 May 2025 17:02:55 -0600 Subject: [PATCH 1/4] docs: update git ref --- LICENSE | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/LICENSE b/LICENSE index 6b571c5..56d75ee 100644 --- a/LICENSE +++ b/LICENSE @@ -187,7 +187,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2024 Masterpoint + Copyright 2025 Masterpoint Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/README.md b/README.md index e9dfff4..93410f5 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ## Purpose and Functionality -This repository serves as a child module for managing Postgres Logical Databases and Roles +This repository serves as a [child module](https://opentofu.org/docs/language/modules/#child-modules) for managing Postgres Logical Databases, Users, and Roles. ## Usage @@ -33,7 +33,7 @@ provider "postgresql" { } module "postgres_automation" { - source = "git::https://github.com/masterpointio/terraform-postgres-automation.git?ref=main" + source = "git::https://github.com/masterpointio/terraform-postgres-config-dbs-users-roles.git?ref=main" databases = [ { From f912c000bee080d0de1e7ada7338b73c63f24ccc Mon Sep 17 00:00:00 2001 From: WestonPlatter Date: Thu, 15 May 2025 17:04:48 -0600 Subject: [PATCH 2/4] chore: update with the latest template state From 241227ad22b87c2be4944841b5eb8a42a6a495c2 Mon Sep 17 00:00:00 2001 From: WestonPlatter Date: Thu, 15 May 2025 17:06:18 -0600 Subject: [PATCH 3/4] fix: template updates From 68fe5e3540386459e0af0b0e97483b4c7084b151 Mon Sep 17 00:00:00 2001 From: WestonPlatter Date: Thu, 15 May 2025 17:13:06 -0600 Subject: [PATCH 4/4] fix: update with https://github.com/masterpointio/terraform-module-template/pull/37 --- .github/workflows/test.yaml | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 400b365..330fbbb 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -4,7 +4,7 @@ on: push: branches: - main - pull_request: + pull_request_target: permissions: actions: read @@ -15,31 +15,14 @@ permissions: jobs: tf-test: - name: ${{ matrix.tf }} Test + name: 🧪 ${{ matrix.tf }} test runs-on: ubuntu-latest strategy: matrix: tf: [tofu, terraform] steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - - name: Aqua Cache - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 - if: ${{ !github.event.act }} # Don't enable the cache step if we're using act for testing - with: - path: ~/.local/share/aquaproj-aqua - key: v1-aqua-installer-${{runner.os}}-${{runner.arch}}-${{hashFiles('aqua.yaml')}} - restore-keys: | - v1-aqua-installer-${{runner.os}}-${{runner.arch}}- - - - name: Install Aqua - uses: aquaproj/aqua-installer@5e54e5cee8a95ee2ce7c04cb993da6dfad13e59c # v3.2.1 + - uses: masterpointio/github-action-tf-test@c3b619f3bca9e4f482b9e0fb3166ab3f02d9d54c # v1.0.0 with: - aqua_version: v2.48.1 - - - name: Aqua Install - shell: bash - run: aqua install --tags ${{ matrix.tf }} - - - run: ${{ matrix.tf }} init - - run: ${{ matrix.tf }} test + tf_type: ${{ matrix.tf }} + aws_role_arn: ${{ vars.TF_TEST_AWS_ROLE_ARN }} + github_token: ${{ secrets.GITHUB_TOKEN }}