From cc38a22afb88b5f7d38b1e6520adcedad7aa39f6 Mon Sep 17 00:00:00 2001 From: Camila Alves Date: Fri, 1 Mar 2024 14:31:42 -0300 Subject: [PATCH] change input name from localexec --- README.md | 4 ++-- action.yaml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9d7363b..0f0f0e2 100644 --- a/README.md +++ b/README.md @@ -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 ``` * * * @@ -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`) * * * diff --git a/action.yaml b/action.yaml index f13bb65..49f3eae 100644 --- a/action.yaml +++ b/action.yaml @@ -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 @@ -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 @@ -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