Skip to content

Commit

Permalink
change input name from localexec
Browse files Browse the repository at this point in the history
  • Loading branch information
ladylokizup committed Mar 1, 2024
1 parent 51674dd commit cc38a22
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
CONTAINER_URL: my/container-url # not mandatory
FEATURES_TERRAFORM_MODULES: ... # not mandatory
PATH_TO_MOUNT: path/to/mount
RELEASE_LOCALEXEC: true # not mandatory
LOCALEXEC_ENABLED: true # not mandatory
```
* * *
Expand All @@ -66,7 +66,7 @@ Field | Mandatory | Observation
**CONTAINER_URL** | NO | Container url reference (e.g `stackspot/image`)
**FEATURES_TERRAFORM_MODULES** | NO | List of external terraform modules allowed
**PATH_TO_MOUNT** | YES | Path provided to be used as a volume within the docker image that will be used with terraform
**RELEASE_LOCALEXEC** | NO | whether or not terraform will be enable to perform local exec operations or not (default: `false`)
**LOCALEXEC_ENABLED** | NO | whether or not terraform will be enable to perform local exec operations or not (default: `false`)

* * *

Expand Down
6 changes: 3 additions & 3 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ inputs:
description: "Path to mount inside the docker"
required: true
default: ${{ github.workspace }}
RELEASE_LOCALEXEC:
LOCALEXEC_ENABLED:
description: "If Runtimes will allow execution of the local-exec command within terraform"
required: false
default: false
Expand Down Expand Up @@ -87,7 +87,7 @@ runs:
-e AWS_SESSION_TOKEN=${{ inputs.AWS_SESSION_TOKEN }} \
-e AWS_REGION=${{ inputs.AWS_REGION }} \
-e FEATURES_TERRAFORM_MODULES='${{ inputs.FEATURES_TERRAFORM_MODULES }}' \
-e FEATURES_RELEASE_LOCALEXEC=${{ inputs.RELEASE_LOCALEXEC }} \
-e FEATURES_RELEASE_LOCALEXEC=${{ inputs.LOCALEXEC_ENABLED }} \
--entrypoint=/app/stackspot-runtime-job-destroy \
${{ inputs.CONTAINER_URL }}:latest start --run-task-id="${{ inputs.RUN_TASK_ID }}"
shell: bash
Expand All @@ -113,7 +113,7 @@ runs:
-e AWS_SESSION_TOKEN=${{ steps.aws-cred.outputs.aws-session-token }} \
-e AWS_REGION=${{ inputs.AWS_REGION }} \
-e FEATURES_TERRAFORM_MODULES='${{ inputs.FEATURES_TERRAFORM_MODULES }}' \
-e FEATURES_RELEASE_LOCALEXEC=${{ inputs.RELEASE_LOCALEXEC }} \
-e FEATURES_RELEASE_LOCALEXEC=${{ inputs.LOCALEXEC_ENABLED }} \
--entrypoint=/app/stackspot-runtime-job-destroy \
${{ inputs.CONTAINER_URL }}:latest start --run-task-id="${{ inputs.RUN_TASK_ID }}"
shell: bash
Expand Down

0 comments on commit cc38a22

Please sign in to comment.