Skip to content

Add tests for !terraform.output. Improve logging and error handling #1235

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 37 commits into from
May 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
e3a6234
updates
aknysh Apr 26, 2025
be6111c
updates
aknysh Apr 26, 2025
ca8f5c2
Merge remote-tracking branch 'origin/main' into update-terraform-outp…
aknysh Apr 26, 2025
0e21ad8
updates
aknysh Apr 26, 2025
98e0238
updates
aknysh Apr 27, 2025
0a3a73c
updates
aknysh Apr 27, 2025
0097fb5
updates
aknysh Apr 28, 2025
512d560
Merge remote-tracking branch 'origin/main' into update-terraform-outp…
aknysh May 1, 2025
8a079e5
updates
aknysh May 1, 2025
bff5f77
updates
aknysh May 1, 2025
7fb1d6c
updates
aknysh May 1, 2025
2e802b7
updates
aknysh May 2, 2025
b76ce19
updates
aknysh May 3, 2025
ecf348f
updates
aknysh May 3, 2025
8b8622b
updates
aknysh May 3, 2025
baa12bd
updates
aknysh May 3, 2025
a6b912b
updates
aknysh May 3, 2025
11fe8ff
updates
aknysh May 3, 2025
9a689d1
updates
aknysh May 3, 2025
b928ec1
[autofix.ci] apply automated fixes
autofix-ci[bot] May 4, 2025
1afff37
updates
aknysh May 4, 2025
0f4c11d
Merge remote-tracking branch 'origin/update-terraform-output-4' into …
aknysh May 4, 2025
6e5d511
updates
aknysh May 4, 2025
53b8a1d
updates
aknysh May 4, 2025
540b910
updates
aknysh May 4, 2025
1a68e0b
updates
aknysh May 4, 2025
23fb270
updates
aknysh May 4, 2025
d563825
updates
aknysh May 4, 2025
7b18f17
updates
aknysh May 5, 2025
13145e2
Apply suggestions from code review
aknysh May 5, 2025
4b1c780
updates
aknysh May 5, 2025
ea2c59e
updates
aknysh May 5, 2025
9892d95
updates
aknysh May 6, 2025
a0fa0c3
Apply suggestions from code review
aknysh May 7, 2025
0bd355d
updates
aknysh May 7, 2025
b0e9437
[autofix.ci] apply automated fixes
autofix-ci[bot] May 7, 2025
016fd7c
updates
aknysh May 7, 2025
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
34 changes: 31 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:

env:
TERRAFORM_VERSION: "1.9.7"
OPEN_TOFU_VERSION: "1.9.1"

jobs:
# ensure the code builds...
Expand Down Expand Up @@ -115,11 +116,18 @@ jobs:
}
echo "${{ github.workspace }}" >> $Env:GITHUB_PATH

- uses: hashicorp/setup-terraform@v3
- name: Install Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: ${{ env.TERRAFORM_VERSION }}
terraform_wrapper: false

- name: Install OpenTofu
uses: opentofu/setup-opentofu@v1
with:
tofu_version: ${{ env.OPEN_TOFU_VERSION }}
tofu_wrapper: false

- name: Check atmos.exe integrity
if: matrix.flavor.target == 'windows'
shell: pwsh
Expand Down Expand Up @@ -242,11 +250,18 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v4

- uses: hashicorp/setup-terraform@v3
- name: Install Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: ${{ env.TERRAFORM_VERSION }}
terraform_wrapper: false

- name: Install OpenTofu
uses: opentofu/setup-opentofu@v1
with:
tofu_version: ${{ env.OPEN_TOFU_VERSION }}
tofu_wrapper: false

- name: Run tests for ${{ matrix.demo-folder }}
run: |
cd examples/${{ matrix.demo-folder }}
Expand Down Expand Up @@ -370,11 +385,18 @@ jobs:
run: |
echo "${{ github.workspace }}" >> $Env:GITHUB_PATH

- uses: hashicorp/setup-terraform@v3
- name: Install Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: ${{ env.TERRAFORM_VERSION }}
terraform_wrapper: false

- name: Install OpenTofu
uses: opentofu/setup-opentofu@v1
with:
tofu_version: ${{ env.OPEN_TOFU_VERSION }}
tofu_wrapper: false

- name: Run tests in ${{ matrix.demo-folder }} for ${{ matrix.flavor.target }}
working-directory: ${{ matrix.demo-folder }}
if: matrix.flavor.target == 'linux' || matrix.flavor.target == 'macos'
Expand Down Expand Up @@ -442,6 +464,12 @@ jobs:
terraform_version: ${{ env.TERRAFORM_VERSION }}
terraform_wrapper: false

- name: Install OpenTofu
uses: opentofu/setup-opentofu@v1
with:
tofu_version: ${{ env.OPEN_TOFU_VERSION }}
tofu_wrapper: false

- name: Lint examples/${{ matrix.demo-folder }}/components/terraform
uses: reviewdog/action-tflint@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion examples/quick-start-advanced/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ARG GEODESIC_OS=debian
# https://atmos.tools/
# https://github.com/cloudposse/atmos
# https://github.com/cloudposse/atmos/releases
ARG ATMOS_VERSION=1.173.0
ARG ATMOS_VERSION=1.175.0

# Terraform: https://github.com/hashicorp/terraform/releases
ARG TF_VERSION=1.5.7
Expand Down
46 changes: 23 additions & 23 deletions go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading