Skip to content

Commit 183e3a3

Browse files
committed
change workflow
1 parent 31342f7 commit 183e3a3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ec2-new-pipeline.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
with:
1717
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
1818
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
19-
# aws_iam_role_arn: "arn:aws:iam::REDACTED:role/REDACTED"
19+
aws_iam_role_arn: "arn:aws:iam::306093656765:user/ajith1"
2020
aws_region: "ap-south-1"
2121
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
2222
github_action_runner_version: v2.300.2 # Optional (default is latest release)
@@ -33,7 +33,11 @@ jobs:
3333
ec2_spot_instance_strategy: SpotOnly # Other options are: None, BestEffort, MaxPerformance
3434
ec2_instance_tags: > # Required for IAM role resource permission scoping
3535
[
36-
{"Key": "Owner", "Value": "deploybot"}
36+
{"Key": "Owner", "Value": "deploybot"},
37+
{"Key": "Name", "Value": "github-runner"},
38+
{"Key": "Environment", "Value": "ci"},
39+
{"Key": "Project", "Value": "github-actions"},
40+
{"Key": "ManagedBy", "Value": "github-actions"}
3741
]
3842
3943
# Job that runs on the self-hosted runner

0 commit comments

Comments
 (0)