Skip to content

Commit

Permalink
StartBackupJob takes no resource
Browse files Browse the repository at this point in the history
  • Loading branch information
bill-buchan committed Dec 19, 2024
1 parent a49e38e commit 1cb831c
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,13 @@ resource "aws_iam_policy" "oracle_ec2_snapshot_backup_role_policy" {
Action = "iam:PassRole",
Resource = "arn:aws:iam::${var.account_info.id}:role/service-role/AWSBackupDefaultServiceRole"
},
{
Effect = "Allow"
Action = ["backup:StartBackupJob"]
},
{
Effect = "Allow"
Action = ["backup:ListBackupVaults",
"backup:StartBackupJob",
"backup:DescribeBackupJob",
"ec2:DescribeSnapshots"],
Resource = "*"
Expand Down

0 comments on commit 1cb831c

Please sign in to comment.