EC2 MachineImage: support for cross account ssm parameter #31554
Labels
@aws-cdk/aws-ec2
Related to Amazon Elastic Compute Cloud
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
MachineImage.from_ssm_parameter(parameter_name=....)
doesn't support cross-account parameters. You cannot provide an ARN. I believe the module should support fetching of AMI ID from shared SSM parameters.Use Case
It's very likely to publish SSM parameters with AMI ID from a centralised account, when creating new EC2 instances
MachineImage.from_ssm_parameter(parameter_name=....)
should support the lookup of them.Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
2.159.1 (build c66f4e3)
Environment details (OS name and version, etc.)
Linux
The text was updated successfully, but these errors were encountered: