The following resource(s) failed to create: [ApiLambdaPermissionProduction, ApiDeploymentStaging, ApiDeploymentProduction, ApiLambdaPermissionStaging]
Prerequisites
- [x] I am running the latest version. (
up upgrade) - [x] I searched to see if the issue already exists.
- [ ] I inspected the verbose debug output with the
-v, --verboseflag. - [ ] Are you an Up Pro subscriber?
Description
I am getting an intermittent error when running up deploy. This error occurs maybe 1/10 deployments. I think it has something to do with Cloudformation trying to update the API Gateway concurrently for each stage. Screenshots attached:
The following resource(s) failed to create: [ApiLambdaPermissionProduction, ApiDeploymentStaging, ApiDeploymentProduction, ApiLambdaPermissionStaging].
Steps to Reproduce
up deploy
interesting, haven't hit that one before, I'll try adding a DependsOn so those two deployments don't happen in parallel, hopefully that'll do the trick. Thanks for the report!
getting a similar error consistently. can't seem to deploy this app at all. Not sure if it is related to this or not.
Error: deploying: us-east-1: The following resource(s) failed to create: [ApiLambdaPermissionProduction, ApiProxyMethod, DnsZoneSaxonincCom, ApiDomainProduction, ApiLambdaPermissionStaging].
@tamagokun if you run up stack there should be some more detailed errors, may be a conflict with an existing domain name or something like that
@tj ok, I see. Sorry to derail this issue!
@tamagokun No worries! Let me know if you hit something that doesn't seem obvious, sometimes the AWS error messages a bit obscure
Any update on this issue?
Seems like a bug on their part to me kind of. If they let you define deployments in cloudformation they shouldn't race with each other, I'll try bringing it up with the AWS team if I can't find a decent solution, seems like something they should be retrying internally.
Is there any chance other tools (or the aws console) are making deployments at the same time? Or is it just Up? I haven't hit this yet
Well I have my CI/CD running up so potentially two (or more) could be occurring at the same time. However this would not be occurring for the same up deployment. The CI/CD create new up deployments each time and deletes them when it is done.
I get this issue because it's trying to email a developer for the SSL certification request, which can't ever return because I've got no email for this domain, so I just manually created the SSL's, deleted the entire stack, and pushed again...
I have this issue too. I've tried deleting the stack and recreating without success.