Skip to content

Commit

Permalink
added aws-resource-tags permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
hvgazula committed Oct 7, 2023
1 parent ff945c5 commit 38a4124
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/aws_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ jobs:
ec2-instance-type: ${{ vars.AWS_INSTANCE_TYPE }}
subnet-id: ${{ vars.AWS_SUBNET }}
security-group-id: ${{ vars.AWS_SECURITY_GROUP }}
aws-resource-tags: [{"Key": "Name", "Value": "Test-CPU-TM-HG"}]
aws-resource-tags: > # optional, requires additional permissions
[
{"Key": "Name", "Value": "ec2-github-runner"},
{"Key": "GitHubRepository", "Value": "${{ github.repository }}"}
]
do-the-job:
name: Do the job on the runner
Expand Down

0 comments on commit 38a4124

Please sign in to comment.