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

smarter reporting on stack creation / updates #1

Open
PhillypHenning opened this issue Jul 19, 2022 · 0 comments
Open

smarter reporting on stack creation / updates #1

PhillypHenning opened this issue Jul 19, 2022 · 0 comments
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers

Comments

@PhillypHenning
Copy link
Contributor

Currently if a stack fails to create it will end up in a ROLLBACK_COMPLETE status.
We aren't currently respecting this as we report on "success" even when a stack fails to update / create

~#~#~#~DEPLOYING OPS REPO [cloudformation] SUCCESSFULLY COMPLETED~#~#~#~
2022-07-19 17:19:49,896 root         DEBUG 
Welcome to the CloudFormation BitOps plugin!
Deploying cloudformation... cloudformation - Found BitOps config
All dependent plugins found. Continuing with deployment..
cd cloudformation Root: /tmp/tmpc6cj5rxy/Cloudformation/cloudformation
Running Cloudformation Template Validation
Cloudformation template template.yaml file validation completed successfully!!!
Running Cloudformation Deploy Stack
Checking if stack exists ...
STACK_EXISTS_OUTPUT An error occurred (ValidationError) when calling the DescribeStacks operation: Stack with id bitops-testing does not exist

Stack does not exist, creating ...
create-stack
Parameters file doesn't exist...
Waiting on cloudformation stack bitops-testing create-stack completion...
{
  "StackId": "arn:aws:cloudformation:us-east-2:832297766686:stack/bitops-testing/d85e8a80-0786-11ed-9851-020e33294cd6",
  "StackName": "bitops-testing",
  "CreationTime": "2022-07-19T17:18:45.596000+00:00",
  "DeletionTime": "2022-07-19T17:18:55.211000+00:00",
  "RollbackConfiguration": {},
  "StackStatus": "ROLLBACK_COMPLETE",
  "DisableRollback": false,
  "NotificationARNs": [],
  "Tags": [],
  "EnableTerminationProtection": false,
  "DriftInformation": {
    "StackDriftStatus": "NOT_CHECKED"
  }
}
Finished cloudfromation action create-stack successfully !!!
@PhillypHenning PhillypHenning added bug Something isn't working enhancement New feature or request good first issue Good for newcomers labels Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant