Skip to content

Commit

Permalink
fix: mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
kelsoncarmozinezup committed Aug 27, 2024
1 parent 9afd1a4 commit eff504a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ jobs:
AWS_ROLE_ARN: ${{ secrets.AWS_ROLE_ARN }}
AWS_REGION: sa-east-1
CONTAINER_URL: my/container-url # not mandatory
REPOSITORY_NAME: my-repository-name
REPOSITORY_NAME: my-repository-name # not mandatory
RUN_TASK_ID: ${{ matrix.task.runTaskId }}
PATH_TO_MOUNT: path/to/mount
PATH_TO_MOUNT: path/to/mount # not mandatory
BASE_PATH_OUTPUT: path/to/save/file # not mandatory
CHECKOUT_BRANCH: 'true' # not mandatory
```
Expand All @@ -61,9 +61,9 @@ Field | Mandatory | Observation
**AWS_SESSION_TOKEN** | NO | [AWS](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html) Session Token
**AWS_ROLE_ARN** | NO | AWS IAM ROLE (necessary if AWS credentials not informed)
**AWS_REGION** | YES | AWS region where files will be stored (e.g: `us-east-1`).
**REPOSITORY_NAME** | YES | Repository name to checkout during task process.
**REPOSITORY_NAME** | NO | Repository name to checkout during task process.
**CONTAINER_URL** | NO | Container url reference (e.g `stackspot/image`)
**PATH_TO_MOUNT** | YES | Path provided to be used as a volume within the docker image that will be used with terraform
**PATH_TO_MOUNT** | NO | Path provided to be used as a volume within the docker image that will be used with terraform
**RUN_TASK_ID** | YES | StackSpot Runtime task id to be executed, according to [runtime-manager-action](https://github.com/stack-spot/runtime-manager-action).
**BASE_PATH_OUTPUT** | NO | Folder path to save the iac.zip generated by the action.
**CHECKOUT_BRANCH** | NO | Whether or not checkout is enabled. (default: `'false'`)
Expand Down
5 changes: 3 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ inputs:
required: true
REPOSITORY_NAME:
description: "Git Repository Name"
required: true
required: false
default: ${{ github.event.repository.name }}
AWS_ACCESS_KEY_ID:
description: "AWS ACCESS KEY ID from console"
Expand All @@ -37,13 +37,14 @@ inputs:
required: true
PATH_TO_MOUNT:
description: "Path to mount inside the docker"
required: true
required: false
default: ${{ github.workspace }}
BASE_PATH_OUTPUT:
description: "Base Path Output"
required: false
CONTAINER_URL:
description: "IAC Container url"
required: false
default: stackspot/runtime-job-iac:latest
CHECKOUT_BRANCH:
description: "Whether or not checkout is enabled."
Expand Down

0 comments on commit eff504a

Please sign in to comment.