-
Notifications
You must be signed in to change notification settings - Fork 106
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
disableRollback added to cloudFormationExecuteChangeSet #494
base: master
Are you sure you want to change the base?
Conversation
cloudFormationExecuteChangeSet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution!
The CI checks are failing with
src/tasks/CloudFormationExecuteChangeSet/TaskOperations.ts(57,23): error TS2769: No overload matches this call.
Overload 1 of 2, '(params: ExecuteChangeSetInput, callback?: ((err: AWSError, data: ExecuteChangeSetOutput) => void) | undefined): Request<...>', gave the following error.
Argument of type '{ ChangeSetName: string; StackName: string; DisableRollback: boolean; }' is not assignable to parameter of type 'ExecuteChangeSetInput'.
Object literal may only specify known properties, and 'DisableRollback' does not exist in type 'ExecuteChangeSetInput'.
Overload 2 of 2, '(callback?: ((err: AWSError, data: ExecuteChangeSetOutput) => void) | undefined): Request<ExecuteChangeSetOutput, AWSError>', gave the following error.
Argument of type '{ ChangeSetName: string; StackName: string; DisableRollback: boolean; }' is not assignable to parameter of type '(err: AWSError, data: ExecuteChangeSetOutput) => void'.
Object literal may only specify known properties, and 'ChangeSetName' does not exist in type '(err: AWSError, data: ExecuteChangeSetOutput) => void'.
src/tasks/CloudFormationExecuteChangeSet/TaskOperations.ts(106,25): error TS2339: Property 'DisableRollback' does not exist on type 'DescribeChangeSetInput'.
It looks like we're using Aws JS SDK 2.916.0, but DisableRollback was added in 2.956.0. @JadenSimon what would be required in order to safely bump the SDK version?
Hey @bekahmark12 looks like our |
Okay I was indeed on npm v6, I updated to v7 and ran the npm i --package-lock-only command! |
Okay great! Now try |
Done! |
@bekahmark12 |
Okay I updated the sdk to 2.979.0. |
I'm still seeing issues related to |
Great thank you so much! :) |
You should be able to drop your changes to |
Description
Motivation
Related Issue(s), If Filed
Testing
Checklist
npm run newChange
License
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.