Skip to content
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

Add CAPA permissions for ASG lifecycle hooks #128

Merged
merged 1 commit into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Add support for removing some IAM permissions from the capa controller role in BYOVPC installations.
- CAPA role CloudFormation template: switch from inline to managed policies for the CAPA IAM role.
- Add CAPA permissions for ASG lifecycle hooks

## [4.2.0] - 2024-09-04

Expand Down
3 changes: 3 additions & 0 deletions capa-controller-role/capa-controller-policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
"autoscaling:SuspendProcesses",
"autoscaling:DescribeAutoScalingInstances",
"autoscaling:TerminateInstanceInAutoScalingGroup",
"autoscaling:DeleteLifecycleHook",
"autoscaling:DescribeLifecycleHooks",
"autoscaling:PutLifecycleHook",
"ec2:CreateLaunchTemplate",
"ec2:CreateLaunchTemplateVersion",
"ec2:DescribeLaunchTemplates",
Expand Down
3 changes: 3 additions & 0 deletions capa-controller-role/cloud-formation-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ Resources:
- "autoscaling:SuspendProcesses"
- "autoscaling:DescribeAutoScalingInstances"
- "autoscaling:TerminateInstanceInAutoScalingGroup"
- "autoscaling:DeleteLifecycleHook"
- "autoscaling:DescribeLifecycleHooks"
- "autoscaling:PutLifecycleHook"
- "ec2:CreateLaunchTemplate"
- "ec2:CreateLaunchTemplateVersion"
- "ec2:DescribeLaunchTemplates"
Expand Down