feat(aws-ec2): Allow ApplyCloudformationInitOptions to set additional params#16121
feat(aws-ec2): Allow ApplyCloudformationInitOptions to set additional params#16121mergify[bot] merged 4 commits intoaws:masterfrom maafk:cfn-init-options
Conversation
… and --url arguments
|
These props will also need to be exposed in Instance's and AutoScalingGroup's |
Thanks for this. Updating now |
tiefps
left a comment
There was a problem hiding this comment.
LGTM. Thanks for adding this!
njlynch
left a comment
There was a problem hiding this comment.
Thanks for the submission!
|
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
|
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
… params (aws#16121) Resolves aws#16004 When using CloudformationInit, can opt to include the `--role` and `--url` argument to `cfn-init` and `cfn-signal` ([ref](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-init.html#cfn-init-Syntax)). User can do this by including [InitOptions](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-ec2.ApplyCloudFormationInitOptions.html) that include `includeUrl` and `includeRole` ```typescript ec2.Instance(this, 'MyInstance', { init: // init config, initOptions: { includeUrl: true, includeRole: true, } } ``` It's possible to _always_ include these added arguments, but not sure whether that would cause regressions. Open to any suggestions on a better way to implement ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
… params (aws#16121) Resolves aws#16004 When using CloudformationInit, can opt to include the `--role` and `--url` argument to `cfn-init` and `cfn-signal` ([ref](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-init.html#cfn-init-Syntax)). User can do this by including [InitOptions](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-ec2.ApplyCloudFormationInitOptions.html) that include `includeUrl` and `includeRole` ```typescript ec2.Instance(this, 'MyInstance', { init: // init config, initOptions: { includeUrl: true, includeRole: true, } } ``` It's possible to _always_ include these added arguments, but not sure whether that would cause regressions. Open to any suggestions on a better way to implement ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Resolves #16004
When using CloudformationInit, can opt to include the
--roleand--urlargument tocfn-initandcfn-signal(ref).User can do this by including InitOptions that include
includeUrlandincludeRoleIt's possible to always include these added arguments, but not sure whether that would cause regressions.
Open to any suggestions on a better way to implement
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license