Skip to content

Commit

Permalink
limit termination to only the instance itself
Browse files Browse the repository at this point in the history
  • Loading branch information
npalm committed Dec 22, 2021
1 parent ad16d80 commit 5fb7237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/runners/policies/instance-ec2.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"Resource": "*",
"Condition": {
"StringEquals": {
"ec2:ResourceTag/Application": "github-action-runner"
"aws:ARN": "$${ec2:SourceInstanceARN}"
}
}
}
Expand Down

0 comments on commit 5fb7237

Please sign in to comment.