Describe the bug
i have discovered the option ssm_session_permission in aws_autoscaling.AutoScalingGroup(), which can be set to True or False (default False) to update the instance profile accordingly to be able to connect to the instance via Session Manager, but the setting has no effect whatsoever.
asg = autoscaling.AutoScalingGroup(
# many lines omitted
ssm_session_permissions=True,
)
Expected Behavior
Setting the ssm_session_permissions=True adds new SSM permissions to IAM instance profile so the instance can be managed by Systems Manager
Current Behavior
Setting the ssm_session_permissions=True or False has no effect
Reproduction Steps
Set Setting the ssm_session_permissions=True and run cdk diff in a command line or deploy the setting
of autoscaling group
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.83.0
Framework Version
No response
Node.js Version
18
OS
Ubuntu 20.04.5 LTS
Language
Python
Language Version
3.10.6
Other information
No response
Describe the bug
i have discovered the option ssm_session_permission in aws_autoscaling.AutoScalingGroup(), which can be set to True or False (default False) to update the instance profile accordingly to be able to connect to the instance via Session Manager, but the setting has no effect whatsoever.
Expected Behavior
Setting the ssm_session_permissions=True adds new SSM permissions to IAM instance profile so the instance can be managed by Systems Manager
Current Behavior
Setting the ssm_session_permissions=True or False has no effect
Reproduction Steps
Set Setting the ssm_session_permissions=True and run cdk diff in a command line or deploy the setting
of autoscaling group
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.83.0
Framework Version
No response
Node.js Version
18
OS
Ubuntu 20.04.5 LTS
Language
Python
Language Version
3.10.6
Other information
No response