Skip to content
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

fix: add logic to create stack if old stack in delete complete status #224

Merged
merged 3 commits into from
Jun 22, 2020

Conversation

kakhaUrigashvili
Copy link
Contributor

Addressing issue
#210

const {
stackId,
stackName,
templateContents,
stackParameters
} = options;
if (!stringUtils.isNonBlankString(stackId)) {
const exists = await cloudformationClient.stackExists(stackId);
if (!exists) {
reporter.updateStatus(`No stack exists. Creating cloudformation stack "${stackName}"...`);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe can be more accurate: No stack exists or stack has been deleted.

@RonWang RonWang merged commit ec32913 into develop Jun 22, 2020
@RonWang RonWang deleted the cf-deployer-delete-completed-fix branch June 22, 2020 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants