Skip to content

Commit

Permalink
arn
Browse files Browse the repository at this point in the history
  • Loading branch information
arianvp committed Mar 2, 2024
1 parent 5e2b0be commit f65d8a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tf/iam_github_actions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ data "aws_iam_policy_document" "upload_ami" {
statement {
effect = "Deny"
actions = ["ec2:RunInstances"]
resources = ["*"]
resources = ["arn:ec2:*:*:instance/*"]
condition {
test = "StringNotEquals"
variable = "ec2:InstanceType"
Expand Down

0 comments on commit f65d8a5

Please sign in to comment.