Skip to content

smarter reporting on stack creation / updates #1

@PhillypHenning

Description

@PhillypHenning

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 !!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requestgood first issueGood for newcomers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions