-
Notifications
You must be signed in to change notification settings - Fork 203
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
Issue #232 CreateInstances for new StackSets and UpdateInstances per parameters #256
base: master
Are you sure you want to change the base?
Conversation
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.
can you update the readme with usage?
@@ -42,6 +42,7 @@ | |||
import javax.annotation.Nonnull; | |||
import java.io.IOException; | |||
import java.util.Collection; | |||
import java.util.Objects; |
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.
please remove this unused import
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 your review and inputs. I have tried to incorporate them. Kindly review and advise
@tylersouthwick is this still relevant? Would merge it and release a new version soon. |
To provide support for CreateInstances and UpdateInstances along the lines of Issue #232
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
This is a feature enhancement. It allows for Stackset creation and updates by accounts/regions rather than for all accounts/regions in the Stackset. It basically is a fork of the existing function cfnUpdateStackSet with all the same features with the additional option of specifying accounts/regions
What is the current behavior? (You can also link to an open issue here)
Current function cfnUpdateStackSet does not provide for a way to specify accounts/regions. Issue [Feature] CreateStackInstances and UpdateStackInstances #232
What is the new behavior (if this is a feature change)?
A new function cfnUpdateStackSetForAccounts is built to specify accounts and regions in StackSet updates in the lines of Issue [Feature] CreateStackInstances and UpdateStackInstances #232
Does this PR introduce a breaking change? (What changes might users need to make in their setup due to this PR?)
This is a non-breaking change. A function cfnUpdateStackSetForAccounts has been introduced that has the same features as cfnUpdateStackSet but with the option to supply accounts and regions
Other information:
Example function calls:
cfnUpdateStackSetForAccounts(stackSet:'myStackSetForAccounts', file:'myStackSetForAccounts.yml', pollInterval:1000, accounts:["012345678901"], regions:["us-east-1","us-east-2"])
Changes:
Added CFNUpdateStackSetForAccountsStep.java
Added CFNUpdateStackSetForAccountsStepTest.java