rough-sunset-94098
12/02/2023, 1:34 AMcreate_before_destroy=true
in the lifecycle section on deployment resource, it will get rid of that problem. This solution works on terraform side but I didn't see any such option on the Pulumi side to set the lifecycle section on aws._*apigateway*_._*Deployment*_
resource.
BadRequestException: Active stages pointing to this deployment must be moved or deleted
echoing-dinner-19531
12/02/2023, 11:47 AMrough-sunset-94098
12/04/2023, 6:23 PMcreate_before_destroy
flag on the API Gateway deployment resource so that it creates the new resource before it tries to delete the existing depploymentresource because an active stage is pointing to it.rough-sunset-94098
12/04/2023, 6:24 PMechoing-dinner-19531
12/04/2023, 6:26 PMechoing-dinner-19531
12/04/2023, 6:27 PMpulumi up
to delete teh current gateway, then add the new gateway resource and pulumi up
again.rough-sunset-94098
12/04/2023, 6:29 PMrough-sunset-94098
12/04/2023, 6:29 PMechoing-dinner-19531
12/04/2023, 6:32 PMrough-sunset-94098
12/04/2023, 6:34 PMrough-sunset-94098
12/08/2023, 8:23 PMechoing-dinner-19531
12/08/2023, 8:41 PMrough-sunset-94098
12/08/2023, 9:01 PM