Skip to content

Commit

Permalink
037 Automate the Process of AMI Creation Using System Manager Mainten…
Browse files Browse the repository at this point in the history
…ance Windows
  • Loading branch information
AnshMittal1811 committed Sep 9, 2022
1 parent 19a6df6 commit e253276
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": "iam:PassRole",
"Resource": "arn:aws:iam::XXXXXX:role/MaintainenceWindowRole"
}
]
}
13 changes: 13 additions & 0 deletions 037_Automating_AMI_Creation_using_System_Manager/ssm_iam
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": "ec2.amazonaws.com",
"Service": "ssm.amazonaws.com"
},
"Action": "sts:AssumeRole"
}
]
}

0 comments on commit e253276

Please sign in to comment.