Skip to content

Commit

Permalink
Merge pull request #48 from ADORSYS-GIS/debugging-terraform-state-in-…
Browse files Browse the repository at this point in the history
…workflow

update destroy worflow to remove forceful unlocking of state
  • Loading branch information
NkwaTambe authored Feb 5, 2025
2 parents 2124c00 + e1b8680 commit 09a1b07
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 18 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/destroy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,6 @@ jobs:
-backend-config="bucket=webank-dev-terraform-state" \
-backend-config="dynamodb_table=webank-dev-terraform-state-lock"
- name: Unlock Terraform State (if locked)
run: |
LOCK_ID="1253bdff-64c5-6801-2691-ac16ddaa37db"
echo "Attempting to unlock Terraform state with ID: $LOCK_ID"
terraform force-unlock -force "$LOCK_ID"
echo "Terraform state unlock attempt completed."
- name: Terraform Plan
run: |
terraform plan -destroy -var-file=${{ matrix.name }}.tfvars -out=plan.tfplan
Expand Down
10 changes: 5 additions & 5 deletions charts/webank/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
dependencies:
- name: webank-obs
repository: file://../webank-obs/
repository: https://ADORSYS-GIS.github.io/webank-devops/
version: 1.2.0
- name: webank-userapp
repository: file://../webank-userapp/
repository: https://ADORSYS-GIS.github.io/webank-devops/
version: 1.0.1
- name: webank-prs
repository: file://../webank-prs/
repository: https://ADORSYS-GIS.github.io/webank-devops/
version: 1.0.0
- name: postgresql
repository: https://repo.broadcom.com/bitnami-files/
version: 16.2.3
- name: common
repository: https://repo.broadcom.com/bitnami-files/
version: 2.27.0
digest: sha256:d34bdf8ed5838096c8f642a32489448311b276e5f334f23fd9764ed8f3bed446
generated: "2025-02-05T11:17:02.986974696+01:00"
digest: sha256:581b73d41822c57dcc6b5b24497eba574e8aedb5d253e21ead657d95330d7209
generated: "2025-02-05T12:46:46.850104951+01:00"
6 changes: 3 additions & 3 deletions charts/webank/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ appVersion: "1.16.0"

dependencies:
- name: webank-obs
repository: "file://../webank-obs/"
repository: "https://ADORSYS-GIS.github.io/webank-devops/"
version: 1.2.0
alias: obs
- name: webank-userapp
repository: "file://../webank-userapp/"
repository: "https://ADORSYS-GIS.github.io/webank-devops/"
version: 1.0.1
alias: userapp
- name: webank-prs
repository: "file://../webank-prs/"
repository: "https://ADORSYS-GIS.github.io/webank-devops/"
version: 1.0.0
alias: prs
- name: postgresql
Expand Down

0 comments on commit 09a1b07

Please sign in to comment.