Skip to content

Commit cf316e9

Browse files
committed
change workflow
1 parent 183e3a3 commit cf316e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 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::306093656765:user/ajith1"
19+
aws_iam_role_arn: "arn:aws:iam::306093656765:role/github-runner-role"
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,7 @@ 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": "ajith1"},
3737
{"Key": "Name", "Value": "github-runner"},
3838
{"Key": "Environment", "Value": "ci"},
3939
{"Key": "Project", "Value": "github-actions"},

0 commit comments

Comments
 (0)