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

stackit hangs when run after import changeset #50

Open
tekumara opened this issue Jan 20, 2021 · 2 comments
Open

stackit hangs when run after import changeset #50

tekumara opened this issue Jan 20, 2021 · 2 comments

Comments

@tekumara
Copy link

stackit just hangs without any indication of what's happening:

$ stackit up --stack-name s3-buckets --template infra/cloudformation/s3-buckets.yaml --region us-east-1
stackit version 0.0.39
@tekumara
Copy link
Author

tekumara commented Jan 21, 2021

This was on a stack that I had created by importing resources. I updated the stack using another tool (parfait). The stack is now in a state that stackit is happy with, and stackit is no longer hanging.

@tekumara
Copy link
Author

Can reproduce this reliably by creating and executing an import change set, eg:

	aws cloudformation create-change-set                                                \
		--stack-name $(stackname) --change-set-name $(LogicalResourceId)ImportChangeSet	\
		--change-set-type IMPORT                                                        \
		--resources-to-import "[{\"ResourceType\":\"AWS::S3::Bucket\",\"LogicalResourceId\":\"$(LogicalResourceId)\",\"ResourceIdentifier\":{\"BucketName\":\"$(BucketName)\"}}]"    \
		--template-body file://infra/cloudformation/s3-buckets.yaml
	aws cloudformation describe-change-set --change-set-name $(LogicalResourceId)ImportChangeSet --stack-name $(stackname)
	aws cloudformation execute-change-set --change-set-name $(LogicalResourceId)ImportChangeSet --stack-name $(stackname)

And then try and run stackit as above.

@tekumara tekumara changed the title stackit hangs stackit hangs when run after import changeset Jun 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant