GithubHelp home page GithubHelp logo

giff's People

Contributors

danpizz avatar

Watchers

 avatar

giff's Issues

when exiting with errors no CR is attached to the last line

operation error CloudFormation: CreateChangeSet, https response error StatusCode: 400, , api error ValidationError: Stack [blah] does not exist

This line should have a \n at the end but it does not
giff should give a consistent error and message if the stack does not exist

Errors are written multiple times:

./giff changes sample-giff-stack cf-examples/sample-1.yaml -p OtherPolicyArn=arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCoare
Error: operation error CloudFormation: CreateChangeSet, https response error StatusCode: 400, RequestID: 574d0862-d844-434e-8438-32027d720a6d, AlreadyExistsException: ChangeSet giff-generated-changeset cannot be created due to a mismatch with existing attribute Parameters
Usage:
  giff changes [Stackname template [-p par1=val1 ... | -a par1=val1 ...] [--no-delete-changeset] | stack_arn] [--dump] [-v] [flags]

Examples:
giff change my-stack my-template.yaml -a Size=m4.tiny -v --no-delete-changeset
giff change arn:aws:cloudformation:us-east-1:123456789012:changeSet/SampleChangeSet-direct/1a2345b6-0000-00a0-a123-00abc0abc000 --dump

Flags:
  -a, --all-parameters string         All the template parameters: "par1=value1 para2=value2 ..."
  -d, --dump                          Print the raw changeset
  -h, --help                          help for changes
      --no-delete-changeset           Don't remove the changeset, print its ARN
  -p, --parameters-overrides string   The input parameters for your stack template. If you don't specify a parameter, the stack's existing value is used. "par1=value1 para2=value2 ..."

Global Flags:
  -v, --verbose   verbose output

operation error CloudFormation: CreateChangeSet, https response error StatusCode: 400, RequestID: 574d0862-d844-434e-8438-32027d720a6d, AlreadyExistsException: ChangeSet giff-generated-changeset cannot be created due to a mismatch with existing attribute Parameters

Also probabily we don't need the usage message here

A changeset previously created with --no-delete-changeset will cause errors unless the parameters are exactly the same

This creates a changeset

./giff changes sample-giff-stack cf-examples/sample-1.yaml -p OtherPolicyArn=arn:aws:iam::aws:policy/AmazonSSMManagedInstancea --no-delete-changeset

Then this will not work

./giff changes sample-giff-stack cf-examples/sample-1.yaml -p OtherPolicyArn=arn:aws:iam::aws:policy/adifferentarn
Error: operation error CloudFormation: CreateChangeSet, https response error StatusCode: 400, RequestID: 3e33147f-eaba-4643-aba7-98913a154765, AlreadyExistsException: ChangeSet giff-generated-changeset cannot be created due to a mismatch with existing attribute Parameters
Usage:
...

nor this

./giff changes sample-giff-stack cf-examples/sample-1.yaml
Error: operation error CloudFormation: CreateChangeSet, https response error StatusCode: 400, RequestID: a07cde34-b471-4cd3-8053-8478f321070e, AlreadyExistsException: ChangeSet giff-generated-changeset cannot be created due to a mismatch with existing attribute Parameters
Usage:

until the changeset is deleted by this that has the same parameter of the first run:

./giff changes sample-giff-stack cf-examples/sample-1.yaml -p OtherPolicyArn=arn:aws:iam::aws:policy/AmazonSSMManagedInstancea
-  remove: SampleRole2 - AWS::IAM::Role
*  modify: SampleRole (sample-giff-stack-sample-role) - AWS::IAM::Role / replacement: False

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.