-
Notifications
You must be signed in to change notification settings - Fork 4
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
Error: Failed to create managed resources: #1
Comments
For parameter entry: The error appears to be related to SAM CLI Bucket creation, in the process a SAM CLI bucket will be created first in separate Cloudformation stack (aws-sam-cli-managed-default) then it proceeds to create resources in serverless.yaml [1]. The guided version of sam deploy will check if this stack (aws-sam-cli-managed-default) is good before proceeding. If the stack is in not in good standing this will need to fixed. If none of the resources are being used you can delete the stack (aws-sam-cli-managed-default) and To get more details on failure, if you have CloudTrail enabled you can query the outcome of CreateBucket API failed [2]. The sam deploy command has a [1] https://aws.amazon.com/blogs/compute/a-simpler-deployment-experience-with-aws-sam-cli/ Q How many buckets are created? |
Thanks for the hints. Using correct existing vpc and subnets, and the --debug flag I now observe this: Note the use of aws-vault as I have a policy of not allowing AWS keys in plain text on disk.
The cloud trail logs look as if the bucket was created. so why would sam or cloud formation not be able to determine that the bucket was created? |
I wonder if I am hitting this issue: aws/aws-sam-cli#3243 (comment) |
I upgraded from SAM CLI v1.30.0 to 1.40.1 and the issue persists |
Hello folks, hope you are doing great. Please help me in this problem. Facing the below problem while running on sam deploy. Current Sam version : 1.53.0 I deleted the stack using "sam delete --stack-name aws-sam-cli-managed-default" and confirmed it was removed in the UI and in the cli output. After that I tried again and got the same error. I have also applied the below solution but it didn't worked for me : Please help me if anyone can help. Thank You |
I have updated the code to reflect newer SAM CLI workflow and SAM template, does that help get pass that error? |
Nope, Still Facing same error. Now, SAM CLI, version 1.41.0 Uninstalled the Previous Version (SAM CLI) and Installed again. Followed the same pattern as defined above in my comment. But the still facing the same error :( . Your little help would be greatly appreciated. Thanks |
Hi,
Attempting to run this stack but I'm running into an error:
which isn't very useful. Meanwhile over in the CloudFormation console I have the following errors:
Can you please confirm:
serverless.yml
file indicates that these are not created.My bucket names appear to be fine. So how do I get more detailed info on the reason for the failure?
Thanks
The text was updated successfully, but these errors were encountered: