Fixed process of updating app on running instances
All checks were successful
AWS Deploy on Push / build (push) Successful in 1m29s
All checks were successful
AWS Deploy on Push / build (push) Successful in 1m29s
This commit is contained in:
@@ -86,6 +86,12 @@ class IptvUpdaterStack(Stack):
|
||||
)
|
||||
)
|
||||
|
||||
# Add EC2 describe permissions
|
||||
role.add_to_policy(iam.PolicyStatement(
|
||||
actions=["ec2:DescribeInstances"],
|
||||
resources=["*"]
|
||||
))
|
||||
|
||||
# Add Cognito permissions to instance role
|
||||
role.add_managed_policy(
|
||||
iam.ManagedPolicy.from_aws_managed_policy_name(
|
||||
|
||||
Reference in New Issue
Block a user