File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 2323 environment :
2424 name : ${{ github.event.inputs.environment }}
2525 steps :
26+ - name : Config Directory
27+ run : echo "Tofu config directory ./terraform/config/${{ github.event.inputs.environment }}"
28+
2629 - name : Checkout
2730 uses : actions/checkout@v5
2831
@@ -44,15 +47,15 @@ jobs:
4447 uses : opentofu/setup-opentofu@v1
4548
4649 - name : Initialize OpenTofu
47- working-directory : ./terraform/config/${{ needs.determine_environment.outputs.env_name }}
50+ working-directory : ./terraform/config/${{ github.event.inputs.environment }}
4851 run : tofu init
4952
5053 - name : Get OpenTofu version
51- working-directory : ./terraform/config/${{ needs.determine_environment.outputs.env_name }}
54+ working-directory : ./terraform/config/${{ github.event.inputs.environment }}
5255 run : tofu --version
5356
5457 - name : Apply tofu plan
55- working-directory : ./terraform/config/${{ needs.determine_environment.outputs.env_name }}
58+ working-directory : ./terraform/config/${{ github.event.inputs.environment }}
5659 run : tofu plan -input=false
5760
5861 - name : Output stderr
You can’t perform that action at this time.
0 commit comments