-
Notifications
You must be signed in to change notification settings - Fork 4k
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
(aws-ec2): Extend BastionHostLinux to support CloudFormationInit #17161
Comments
Sure, that seems like a reasonable request. We welcome community contributions! |
Thanks, looking forward to this change! |
) Implements #17161 Extends the `BastionHostLinux` constructor to accept optional `CloudFormationInit` and `ApplyCloudFormationInitOptions` arguments to be passed to the underlying instance. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…#17507) Implements aws#17161 Extends the `BastionHostLinux` constructor to accept optional `CloudFormationInit` and `ApplyCloudFormationInitOptions` arguments to be passed to the underlying instance. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Appreciate the work on this so far, are there plans to support cfn-hup? https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-hup.html Right now the generated UserData doesn't configure cfn-hup so any updates to the AWS::CloudFormation::Init resource aren't picked up without a host replacement. |
…#17507) Implements aws#17161 Extends the `BastionHostLinux` constructor to accept optional `CloudFormationInit` and `ApplyCloudFormationInitOptions` arguments to be passed to the underlying instance. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
Description
It would be helpful if the
BastionHostLinux
constructor accepted optionalCloudFormationInit
andApplyCloudFormationInitOptions
arguments to be passed to the underlyingInstance
. This would enable full CloudFormation initialization of the instance like installing files.Use Case
In my case I want to install files and run a command at initialization time.
Proposed Solution
Add two optional arguments
init
andinitOptions
toBastionHostLinuxProps
. InBastionHostLinux
pass these arguments to theInstance
constructor when creating the underlying instance.Other information
No response
Acknowledge
The text was updated successfully, but these errors were encountered: