sonikro/aws-run

Runs a remote workload inside of an AWS VPC using ECS Fargate Tasks

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
role_arnRole ARN to be used to create/execute the required infrastructure on AWSyes
execution_role_arnRole ARN to be used to as execution role for the ECS Task that will run the script. Defaults to ROLE_ARNno
task_role_arnRole ARN to be used as Task Role arn for the ECS Task that will run the script. Defaults to ROLE_ARNno
memoryAmount 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)no512
cpuAmount 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)no256
ecs_cluster_nameThe name of the ECS Cluster where the Tasks will run. It will be automatically created if it doesn't existnogithub-actions-aws-run
imageName of the docker container to be used for the step executionyes
regionAWS Region to execute the operationsyesus-east-1
security_group_idSecurity Group to be used by the ECS Task. If not informed, a temporary security group will be created with access to the internetno
runScript that will be executed in the remote environmentyes
shellName of the shell to be used in the container to execute the run scriptyes
subnet_idsSubnet ID of where the Task will be executed. If no subnet_ids is specified, the task will find one automatically within the VPCno
vpc_idVPC ID of where the Task will be executedyes
tagsA multiline string in the format of KEY=VALUE of custom tags to be added to all resources created on AWSno
polling_intervalThe amount of time (in seconds) between polling cloudwatch logs.no2
post_complete_log_cyclesNumber of polling cycles to try getting logs after the ecs task completes.no4
upload_includesArray 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-filtersno
upload_excludesArray 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-filtersno
download_includesArray 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-filtersno
download_excludesArray 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-filtersno

no outputs