Skip to content

(aws-autoscaling): initOptions don't have a timeout field (unlike the one in aws-ec2) #21359

Open
@asyschikov

Description

@asyschikov

Describe the feature

There are two very similar if not to say identical interfaces called ApplyCloudFormationInitOptions one in aws-ec2 another in aws-autoscaling:

https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.ApplyCloudFormationInitOptions.html
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_autoscaling.ApplyCloudFormationInitOptions.html

The one in aws-autoscaling doesn't have timeout for some reason and it is very unfortunate.

Use Case

Use case is using init that takes >5 minutes (default timeout), which is not so unusual with Windows instances. I have a mix of EC2 and ASGs in my stack and for EC2s I can specify timeout but not for ASG.

Proposed Solution

Do the same thing the aws-ec2 code does :-D .

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.33.0

Environment details (OS name and version, etc.)

MacOS 12.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-autoscalingRelated to Amazon EC2 Auto Scalingeffort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions