danpizz / giff Goto Github PK
View Code? Open in Web Editor NEWAn AWS CloudFormation stack diff tool.
License: Other
An AWS CloudFormation stack diff tool.
License: Other
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
./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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.