diff --git a/.github/workflows/ec2-new-pipeline.yml b/.github/workflows/ec2-new-pipeline.yml index 3a26a05..0aa6c68 100644 --- a/.github/workflows/ec2-new-pipeline.yml +++ b/.github/workflows/ec2-new-pipeline.yml @@ -13,20 +13,20 @@ jobs: aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws_iam_role_arn: "arn:aws:iam::REDACTED:role/REDACTED" - aws_region: "us-west-2" + aws_region: "ap-south-1" github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} github_action_runner_version: v2.300.2 # Optional (default is latest release) github_action_runner_extra_cli_args: "--disableupdate" # Extra cli args for runner startup command github_job_start_ttl_seconds: 60 # Optional - (defaults to 0 disabling this feature) github_api_retry_delay: 10 # Optional - Delay when polling for runner registration (default is 10 seconds) - ec2_instance_type: c5.4xlarge + ec2_instance_type: g4dn.xlarge ec2_ami_id: ami-008fe2fc65df48dac - ec2_root_disk_size_gb: "100" # Optional - (defaults to AMI settings) + ec2_root_disk_size_gb: "64" # Optional - (defaults to AMI settings) ec2_root_disk_ebs_class: "gp2" # Optional - Only used with custom volume root size (defaults to gp2) ec2_subnet_id: "SUBNET_ID_REDACTED" ec2_security_group_id: "SECURITY_GROUP_ID_REDACTED" ec2_instance_ttl: 40 # Optional - (default is 60 minutes) - ec2_spot_instance_strategy: MaxPerformance # Other options are: None, BestEffort, MaxPerformance + ec2_spot_instance_strategy: SpotOnly # Other options are: None, BestEffort, MaxPerformance ec2_instance_tags: > # Required for IAM role resource permission scoping [ {"Key": "Owner", "Value": "deploybot"}