diff --git a/infrastructure/iam/github-actions-lambda-deploy.json b/infrastructure/iam/github-actions-lambda-deploy.json index 95f6513..a872f39 100644 --- a/infrastructure/iam/github-actions-lambda-deploy.json +++ b/infrastructure/iam/github-actions-lambda-deploy.json @@ -250,6 +250,26 @@ ] } } + }, + { + "Sid": "DashboardDeployViaSSM", + "Effect": "Allow", + "Action": [ + "ssm:SendCommand" + ], + "Resource": [ + "arn:aws:ec2:us-east-1:711398986525:instance/i-09b539c844515d549", + "arn:aws:ssm:us-east-1::document/AWS-RunShellScript" + ] + }, + { + "Sid": "DashboardDeployPollCommand", + "Effect": "Allow", + "Action": [ + "ssm:GetCommandInvocation", + "ssm:ListCommandInvocations" + ], + "Resource": "*" } ] }