Skip to main content

CLI tool and package for visualising the most recent events on an Amazon Web Services CloudFormation stack

Project description

stackwhy

stackwhy is a CLI tool and Python package for visualising the most recent events on an Amazon Web Services CloudFormation stack.

For example:

Logical ID           Physical ID          Resource Type               Status                                        Reason
StormyNightDeployer                       AWS::CloudFormation::Stack  UPDATE_IN_PROGRESS                            User Initiated
Deployer             StormyNightDeployer  AWS::IAM::User              UPDATE_IN_PROGRESS
HostedZone                                AWS::Route53::HostedZone    CREATE_IN_PROGRESS
Deployer             StormyNightDeployer  AWS::IAM::User              UPDATE_FAILED                                 API: iam:PutUserPolicy User:
                                                                                                                    arn:aws:iam::807041577214:user/StormyNightDeployer is not
                                                                                                                    authorized to perform: iam:PutUserPolicy on resource: user
                                                                                                                    StormyNightDeployer
HostedZone                                AWS::Route53::HostedZone    CREATE_FAILED                                 Resource handler returned message: "User:
                                                                                                                    arn:aws:iam::807041577214:user/StormyNightDeployer is not
                                                                                                                    authorized to perform: route53:CreateHostedZone (Service:
                                                                                                                    Route53, Status Code: 403, Request ID:
                                                                                                                    a21eaab2-9938-4e08-ad65-b3902509252e, Extended Request ID:
                                                                                                                    null)" (RequestToken: 03e18708-8649-fcec-3f7b-329aae06a1c5,
                                                                                                                    HandlerErrorCode: GeneralServiceException)
StormyNightDeployer                       AWS::CloudFormation::Stack  UPDATE_ROLLBACK_IN_PROGRESS                   The following resource(s) failed to create: [HostedZone].
                                                                                                                    The following resource(s) failed to update: [Deployer].
Deployer             StormyNightDeployer  AWS::IAM::User              UPDATE_COMPLETE
StormyNightDeployer                       AWS::CloudFormation::Stack  UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS
HostedZone                                AWS::Route53::HostedZone    DELETE_COMPLETE
StormyNightDeployer                       AWS::CloudFormation::Stack  UPDATE_ROLLBACK_COMPLETE

The full documentation is online at cariad.github.io/stackwhy.

Installation

stackwhy requires Python 3.8 or later.

pip install stackwhy

👋 Hello!

Hello! I'm Cariad Eccleston and I'm an independent/freelance software engineer. If my work has value to you, please consider sponsoring.

If you ever raise a bug, request a feature or ask a question then mention that you're a sponsor and I'll respond as a priority. Thank you!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

stackwhy-1.0.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file stackwhy-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: stackwhy-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for stackwhy-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4621b87e1e6cc41fb63602f7a3e2ae78d899315b9f14c5e221c70a99f08928d8
MD5 615b1a27ce505a2149966e5a1c0b0af0
BLAKE2b-256 774b51d423f841361816a012f1172b2d15d2c419f43f32bfed4f3b637cad5114

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page