Skip to content
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

Support GCS (Google Cloud Storage) as storage for tfmigrate history files #473

Merged
18 changes: 18 additions & 0 deletions .github/workflows/test-get-target-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,21 @@ jobs:
- run: echo "${{ steps.target-config.outputs.s3_bucket_name_plan_file }}"
- run: echo "${{ steps.target-config.outputs.s3_bucket_name_tfmigrate_history }}"
- run: echo "${{ steps.target-config.outputs.template_dir }}"
test-gcp:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: aquaproj/aqua-installer@v1.1.1
with:
aqua_version: v1.19.2
- uses: ./get-target-config
id: target-config
env:
TFACTION_CONFIG: get-target-config/tests/config-1.yaml
TFACTION_TARGET: gcp/foo
TFACTION_IA_APPLY: 'false'
TFACTION_JOB_TYPE: 'terraform'
- run: echo "${{ steps.target-config.outputs.working_directory }}"
- run: echo "${{ steps.target-config.outputs.gcs_bucket_name_plan_file }}"
- run: echo "${{ steps.target-config.outputs.gcs_bucket_name_tfmigrate_history }}"
- run: echo "${{ steps.target-config.outputs.template_dir }}"
2 changes: 2 additions & 0 deletions get-target-config/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ outputs:
description: S3 Bucket name for tfmigrate history files
gcs_bucket_name_plan_file:
description: Google Cloud Storage Bucket name for plan files
gcs_bucket_name_tfmigrate_history:
description: GCS Bucket name for tfmigrate history files
template_dir:
description: Template Directory path for scaffolding a working directory

Expand Down
13 changes: 13 additions & 0 deletions get-target-config/dist/LICENSE

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

Loading