Skip to content

Commit

Permalink
test (#111)
Browse files Browse the repository at this point in the history
fix google providers
  • Loading branch information
anniehedgpeth authored Aug 25, 2023
1 parent c3e6c3f commit d411a62
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 18 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/google-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,22 +144,6 @@ jobs:
run: |
sed --in-place '${{ inputs.TFC_workspace_substitution_pattern }}' versions.tf
- name: Create Terraform Backend to TFC Workspace for Utility Module
if: ${{ inputs.create_backend }}
working-directory: ${{ env.WORK_DIR_PATH }}
env:
TFC_ORGANIZATION: ${{ secrets.TFC_ORGANIZATION }}
run: |
cat <<EOF > backend.tf
terraform {
backend "remote" {
organization = "$TFC_ORGANIZATION"
workspaces {
name = "${{ inputs.TFC_workspace }}"
}
}
}
EOF
- name: Set Terraform Utility Module Sources
if: ${{ inputs.utility_test }}
working-directory: ${{ env.WORK_DIR_PATH }}
Expand Down
16 changes: 14 additions & 2 deletions .github/workflows/handler-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,13 @@ jobs:
pull_request_ref: ${{ github.event.client_payload.pull_request.head.sha }}
pull_request_comment_id: ${{ github.event.client_payload.github.payload.comment.id }}
TFC_token_secret_name: UTILITY_STANDALONE_EXTERNAL_RHEL8_WORKER_TFC_TOKEN
TFC_workspace_substitution_pattern: s/google-standalone-external-rhel8-worker/utility-google-standalone-external-rhel8-worker/
TFC_workspace_substitution_pattern: 's/terraform {/terraform {\n\
backend "remote" {\n\
organization = "terraform-enterprise-modules-test"\n\
workspaces {\n\
name = "utility-google-standalone-external-rhel8-worker"\n\
}\n\
}\n/'
TFC_workspace: utility-google-standalone-external-rhel8-worker

google_standalone_mounted_disk:
Expand All @@ -205,7 +211,13 @@ jobs:
pull_request_ref: ${{ github.event.client_payload.pull_request.head.sha }}
pull_request_comment_id: ${{ github.event.client_payload.github.payload.comment.id }}
TFC_token_secret_name: UTILITY_GOOGLE_STANDALONE_MOUNTED_DISK_TFC_TOKEN
TFC_workspace_substitution_pattern: s/google-standalone-mounted-disk/utility-google-standalone-mounted-disk/
TFC_workspace_substitution_pattern: 's/terraform {/terraform {\n\
backend "remote" {\n\
organization = "terraform-enterprise-modules-test"\n\
workspaces {\n\
name = "utility-google-standalone-mounted-disk"\n\
}\n\
}\n/'
TFC_workspace: utility-google-standalone-mounted-disk

aws_active_active_rhel7_proxy:
Expand Down

0 comments on commit d411a62

Please sign in to comment.