-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
infra: Migrate InstanceRole to CDK #8495
Conversation
Size Change: 0 B Total Size: 654 kB ℹ️ View Unchanged
|
Co-Authored-By: Charlotte Emms <[email protected]> Co-Authored-By: Parisa Tork <[email protected]>
actions: ['cloudwatch:*', 'logs:*'], | ||
resources: ['*'] | ||
}), | ||
new GuAllowPolicy(this, 'AllowPolicyDescribeEc2Autoscaling', { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can remove the AllowPolicyDescribeEc2Autoscaling policy, because it's already covered by the default GuDescribeEC2Policy: https://github.com/guardian/cdk/blob/1d5918085d533513de0b165be815019f98e880ad/src/constructs/iam/roles/instance-role.ts#L51 (Non-blocking though, so let's remove redundant policies in another PR)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥳
What does this change?
Migrate InstanceRole to CDK to resolve #7629
Tested on code
Why?
Part of our migration to CDK