Skip to content

Commit

Permalink
edited gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
Houssem Dellai committed Jan 7, 2024
1 parent cf4531b commit 080cc36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ jobs:
# Delete Resource Groups
- name: Delete Resource Groups
run: |
RG=$(jq -r '.resources[] | select(.type=="azurerm_resource_group") | .name' terraform.tfstate)
RG=$(jq -r '.resources[] | select(.type=="azurerm_resource_group") | .instances[].attributes.name' terraform.tfstate)
RG_ARRAY=($RG)
Expand Down

0 comments on commit 080cc36

Please sign in to comment.