Skip to content

Commit 752dd94

Browse files
committed
fix: update toJSON -> fromJSON
1 parent 1e40270 commit 752dd94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/tf_plan_apply.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ permissions:
1717
jobs:
1818
tofu-plan:
1919
name: 'OpenTofu Plan'
20-
runs-on: ${{ toJSON(inputs.runs_on) }}
20+
runs-on: ${{ fromJSON(inputs.runs_on) }}
2121
environment: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || github.ref_name }}
2222
env:
2323
ENVIRONMENT_NAME: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || github.ref_name }}
@@ -87,7 +87,7 @@ jobs:
8787
name: 'OpenTofu Apply'
8888
needs: [tofu-plan]
8989
if: ${{ (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && needs.tofu-plan.outputs.tf-plan-exit-code == 2 }}
90-
runs-on: ${{ toJSON(inputs.runs_on) }}
90+
runs-on: ${{ fromJSON(inputs.runs_on) }}
9191
environment: ${{ github.ref_name }}
9292
env:
9393
ENVIRONMENT_NAME: ${{ github.ref_name }}

0 commit comments

Comments
 (0)