Skip to main content

stackdiff

stackdiff is a Python package and CLI tool for visualising the changes described by an Amazon Web Services CloudFormation stack change set.

For example:

Description: Foo deployer               =  Description: Foo deployer
Resources:                              =  Resources:
  Deployer:                             =    Deployer:
    Properties:                         =      Properties:
      Policies:                         =        Policies:
      - PolicyDocument:                 =        - PolicyDocument:
          Statement:                    =            Statement:
          - Action:                     =            - Action:
            - acm:DeleteCertificate     =              - acm:DeleteCertificate
            - acm:DescribeCertificate   =              - acm:DescribeCertificate
            - acm:RequestCertificate    =              - acm:RequestCertificate
            Effect: Allow               =              Effect: Allow
            Resource: '*'               =              Resource: '*'
        PolicyName: CertificateManager  =          PolicyName: CertificateManager
                                        >        - PolicyDocument:
                                        >            Statement:
                                        >            - Action: cloudformation:*
                                        >              Effect: Allow
                                        >              Resource: '*'
                                        >          PolicyName: CloudFormation
      UserName: FooDeployer             =        UserName: FooDeployer
    Type: AWS::IAM::User                =      Type: AWS::IAM::User

Logical ID    Physical ID    Resource Type    Action
Deployer      FooDeployer    AWS::IAM::User   Update

Full documentation is online at cariad.github.io/stackdiff.

Installation

stackdiff requires Python 3.8 or later.

pip install stackdiff

CLI usage

Pass the ARN, ID or name of the stack and change set:

stackdiff --stack <STACK> --change <CHANGE>

Metadata

Release files for stackdiff 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for stackdiff 1.1.0
File Interpreter ABI Platform
stackdiff-1.1.0-py3-none-any.whl Python 3 none any Details

Release files / stackdiff-1.1.0-py3-none-any.whl

Download URL stackdiff-1.1.0-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c9df767e0c6990424b973b83d128f9f6bfbaf72f26d9bb30d7535b195abcdb32
BLAKE2b-256 checksum
How to use checksums
9cc4d6e664ce39ac35abcb4865757f2a4d2b1ec657568b839575bb73fc526480
Upload date
Uploaded using Trusted Publishing?
What is 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
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page