Skip to content

Commit

Permalink
godaddy migrated
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcalalang committed Apr 24, 2023
1 parent d9ad206 commit fd8c520
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -488,28 +488,28 @@ jobs:
with:
terraform_version: 1.3.2

- name: Download Terraform State
id: download-artifact
uses: dawidd6/action-download-artifact@v2
with:
name: godaddy-terraform-state
# Optional, a directory where to extract artifact(s), defaults to the current directory
path: godaddy/terraform/
# Optional, defaults to current repo
check_artifacts: false
# Optional, search for the last workflow run whose stored an artifact named as in `name` input
# default false
search_artifacts: true
# Optional, run number from the workflow
# run_number: 3598306214
# Optional, choose to skip unpacking the downloaded artifact(s)
# default false
# skip_unpack: false
# Optional, choose how to exit the action if no artifact is found
# can be one of:
# "fail", "warn", "ignore"
# default fail
if_no_artifact_found: fail
# - name: Download Terraform State
# id: download-artifact
# uses: dawidd6/action-download-artifact@v2
# with:
# name: godaddy-terraform-state
# # Optional, a directory where to extract artifact(s), defaults to the current directory
# path: godaddy/terraform/
# # Optional, defaults to current repo
# check_artifacts: false
# # Optional, search for the last workflow run whose stored an artifact named as in `name` input
# # default false
# search_artifacts: true
# # Optional, run number from the workflow
# # run_number: 3598306214
# # Optional, choose to skip unpacking the downloaded artifact(s)
# # default false
# # skip_unpack: false
# # Optional, choose how to exit the action if no artifact is found
# # can be one of:
# # "fail", "warn", "ignore"
# # default fail
# if_no_artifact_found: fail

- name: Terraform GoDaddy-Terraform fmt
id: fmt
Expand All @@ -518,7 +518,7 @@ jobs:

- name: Terraform GoDaddy-Terraform Init
id: init
run: terraform init -force-copy -backend-config="organization=${{ secrets.TF_CLOUD_ORGANIZATION }}" -backend-config="hostname=${{ secrets.TF_CLOUD_HOSTNAME }}" -backend-config="token=${{ secrets.TF_CLOUD_TOKEN }}"
run: terraform init -backend-config="organization=${{ secrets.TF_CLOUD_ORGANIZATION }}" -backend-config="hostname=${{ secrets.TF_CLOUD_HOSTNAME }}" -backend-config="token=${{ secrets.TF_CLOUD_TOKEN }}"
# run: terraform init -force-copy

- name: Terraform GoDaddy-Terraform Validate
Expand Down

0 comments on commit fd8c520

Please sign in to comment.