sonikro/aws-run
Runs a remote workload inside of an AWS VPC using ECS Fargate Tasks
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| role_arn | Role ARN to be used to create/execute the required infrastructure on AWS | yes | — |
| execution_role_arn | Role ARN to be used to as execution role for the ECS Task that will run the script. Defaults to ROLE_ARN | no | — |
| task_role_arn | Role ARN to be used as Task Role arn for the ECS Task that will run the script. Defaults to ROLE_ARN | no | — |
| memory | Amount of memory to be used by the remote ECS Task (Must be a FARGATE Compatible combination. See https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-cpu-memory-error.html) | no | 512 |
| cpu | Amount of vCPU to be used by the remote ECS Task (Must be a FARGATE Compatible combination. See https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-cpu-memory-error.html) | no | 256 |
| ecs_cluster_name | The name of the ECS Cluster where the Tasks will run. It will be automatically created if it doesn't exist | no | github-actions-aws-run |
| image | Name of the docker container to be used for the step execution | yes | — |
| region | AWS Region to execute the operations | yes | us-east-1 |
| security_group_id | Security Group to be used by the ECS Task. If not informed, a temporary security group will be created with access to the internet | no | — |
| run | Script that will be executed in the remote environment | yes | — |
| shell | Name of the shell to be used in the container to execute the run script | yes | — |
| subnet_ids | Subnet ID of where the Task will be executed. If no subnet_ids is specified, the task will find one automatically within the VPC | no | — |
| vpc_id | VPC ID of where the Task will be executed | yes | — |
| tags | A multiline string in the format of KEY=VALUE of custom tags to be added to all resources created on AWS | no | — |
| polling_interval | The amount of time (in seconds) between polling cloudwatch logs. | no | 2 |
| post_complete_log_cycles | Number of polling cycles to try getting logs after the ecs task completes. | no | 4 |
| upload_includes | Array of string paths to include while uploading the runner workspace to the ECS Task. Excludes apply before includes. See https://docs.aws.amazon.com/cli/latest/reference/s3/#use-of-exclude-and-include-filters | no | — |
| upload_excludes | Array of string paths to exclude while uploading the runner workspace to the ECS Task. Excludes apply before includes. See https://docs.aws.amazon.com/cli/latest/reference/s3/#use-of-exclude-and-include-filters | no | — |
| download_includes | Array of string paths to include while downloading the runner workspace from the ECS Task. Excludes apply before includes. See https://docs.aws.amazon.com/cli/latest/reference/s3/#use-of-exclude-and-include-filters | no | — |
| download_excludes | Array of string paths to exclude while downloading the runner workspace from the ECS Task. Excludes apply before includes. See https://docs.aws.amazon.com/cli/latest/reference/s3/#use-of-exclude-and-include-filters | no | — |
Outputs
no outputs