Skip to content

Commit e65fd28

Browse files
authored
fix syntax
1 parent 89bf0ac commit e65fd28

File tree

1 file changed

+2
-2
lines changed
  • compute/custom-defender-images/deploy

1 file changed

+2
-2
lines changed

compute/custom-defender-images/deploy/iam.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ resource "aws_iam_policy" "ec2-launch-policy" {
3030
Action: [
3131
"ec2:RunInstances",
3232
"ec2:TerminateInstances"
33-
]
33+
],
3434
Resource: [
3535
"arn:aws:ec2:${var.region}:${data.aws_caller_identity.current.account_id}:instance/*",
3636
"arn:aws:ec2:${var.region}:${data.aws_caller_identity.current.account_id}:key-pair/*",
@@ -46,7 +46,7 @@ resource "aws_iam_policy" "ec2-launch-policy" {
4646
Action: [
4747
"ec2:RunInstances",
4848
"ec2:TerminateInstances"
49-
]
49+
],
5050
Resource: "arn:aws:ec2:${var.region}::image/ami-*",
5151
Condition: {
5252
StringEquals: {

0 commit comments

Comments
 (0)