Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem creating a CFN stack... #149

Open
gmflau opened this issue Feb 3, 2018 · 2 comments
Open

Problem creating a CFN stack... #149

gmflau opened this issue Feb 3, 2018 · 2 comments
Assignees

Comments

@gmflau
Copy link

gmflau commented Feb 3, 2018

I was following your instructions on README.md to deploy a K8 cluster. Here is what I passed to the CLI command:

$ aws cloudformation create-stack --region us-west-2 --stack-name Heptio-Kubernetes-GML --template-url https://quickstart-reference.s3.amazonaws.com/heptio/latest/templates/kubernetes-cluster-with-new-vpc.template --parameters ParameterKey=AvailabilityZone,ParameterValue=us-west-2a ParameterKey=KeyName,ParameterValue=dse-keypair-us-west-2 ParameterKey=AdminIngressLocation,ParameterValue=0.0.0.0/0 --capabilities=CAPABILITY_IAM

The error I received below:

10:48:46 UTC-0800 ROLLBACK_IN_PROGRESS AWS::CloudFormation::Stack Heptio-Kubernetes-GML The following resource(s) failed to create: [NATGateway, K8sStack]. . Rollback requested by user.
  10:48:46 UTC-0800 CREATE_FAILED AWS::EC2::NatGateway NATGateway
  10:48:45 UTC-0800 CREATE_FAILED AWS::CloudFormation::Stack K8sStack

When I used your AWS QuickStart here - https://aws.amazon.com/quickstart/architecture/heptio-kubernetes/ , I needed to provide my "IAM Role" under Permission on the form. If not, I would be receiving the same error above. I suspect that I need to pass my "IAM Role" to the "aws cloudformation create-stack" CLI command. I will greatly appreciate if you could find out how.

Thanks,
Gilbert

@timothysc timothysc added this to the Feb 2018 milestone Feb 8, 2018
@timothysc timothysc modified the milestones: Feb 2018, April 2018 Feb 22, 2018
@timothysc timothysc modified the milestones: March 2018, May 2018 May 15, 2018
@detiber
Copy link
Contributor

detiber commented May 23, 2018

@gmflau My apologies for taking so long to respond to this issue. To assume a role with the aws command line utility you can follow these instructions.

@detiber detiber removed this from the May 2018 milestone May 25, 2018
@timothysc
Copy link
Member

Closing, both old and possible via the instructions listed above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants