Skip to content

Commit

Permalink
Merge pull request #56 from j3-signalroom/github_issue-55
Browse files Browse the repository at this point in the history
See #55.  Fixed issue.
  • Loading branch information
j3-signalroom authored Sep 6, 2024
2 parents d042ebe + 69e51d2 commit 9379a5a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/aws-environment-info/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ inputs:
aws_region:
required: true
snowflake_warehouse:
required: false
required: true
service_account_user:
required: false
required: true
day_count:
required: false
outputs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ jobs:
TF_VAR_aws_access_key_id: ${{ steps.aws-credentials.outputs.aws-access-key-id }}
TF_VAR_aws_secret_access_key: ${{ steps.aws-credentials.outputs.aws-secret-access-key }}
TF_VAR_aws_session_token: ${{ steps.aws-credentials.outputs.aws-session-token }}
TF_VAR_snowflake_warehouse: ${{ github.event.inputs.snowflake_warehouse }}
TF_VAR_service_account_user: ${{ github.event.inputs.service_account_user }}
TF_VAR_day_count: ${{ github.event.inputs.day_count }}

Expand All @@ -104,5 +105,6 @@ jobs:
TF_VAR_aws_access_key_id: ${{ steps.aws-credentials.outputs.aws-access-key-id }}
TF_VAR_aws_secret_access_key: ${{ steps.aws-credentials.outputs.aws-secret-access-key }}
TF_VAR_aws_session_token: ${{ steps.aws-credentials.outputs.aws-session-token }}
TF_VAR_snowflake_warehouse: ${{ github.event.inputs.snowflake_warehouse }}
TF_VAR_service_account_user: ${{ github.event.inputs.service_account_user }}
TF_VAR_day_count: ${{ github.event.inputs.day_count }}
8 changes: 8 additions & 0 deletions .github/workflows/undeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ on:
- us-east-2
- us-west-1
- us-west-2
snowflake_warehouse:
type: string
description: Snowflake Warehouse
required: true
service_account_user:
type: string
description: Snowflake Service Account User
Expand All @@ -49,6 +53,8 @@ jobs:
aws_test_account_id: ${{ vars.AWS_TEST_ACCOUNT_ID }}
aws_prod_account_id: ${{ vars.AWS_PROD_ACCOUNT_ID }}
aws_region: ${{ github.event.inputs.aws_region }}
snowflake_warehouse: ${{ github.event.inputs.snowflake_warehouse }}
service_account_user: ${{ github.event.inputs.service_account_user }}

- uses: hashicorp/setup-terraform@v3
with:
Expand Down Expand Up @@ -79,6 +85,7 @@ jobs:
TF_VAR_aws_access_key_id: ${{ steps.aws-credentials.outputs.aws-access-key-id }}
TF_VAR_aws_secret_access_key: ${{ steps.aws-credentials.outputs.aws-secret-access-key }}
TF_VAR_aws_session_token: ${{ steps.aws-credentials.outputs.aws-session-token }}
TF_VAR_snowflake_warehouse: ${{ github.event.inputs.snowflake_warehouse }}
TF_VAR_service_account_user: ${{ github.event.inputs.service_account_user }}

- name: Terraform Destroy Apply
Expand All @@ -90,5 +97,6 @@ jobs:
TF_VAR_aws_access_key_id: ${{ steps.aws-credentials.outputs.aws-access-key-id }}
TF_VAR_aws_secret_access_key: ${{ steps.aws-credentials.outputs.aws-secret-access-key }}
TF_VAR_aws_session_token: ${{ steps.aws-credentials.outputs.aws-session-token }}
TF_VAR_snowflake_warehouse: ${{ github.event.inputs.snowflake_warehouse }}
TF_VAR_service_account_user: ${{ github.event.inputs.service_account_user }}

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.

The format is base on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.34.00.000] - 2024-09-06
### Fixed
- Passing `snowflake_warehouse` variable to the Terraform configuration in the GitHub Workflows.

## [0.33.00.000] - 2024-09-06
### Fixed
- Passing `service_account_user` variable to the Terraform configuration in the GitHub Workflows.
Expand Down

0 comments on commit 9379a5a

Please sign in to comment.