How to overcome the following error
badrequestexception: the provided certificate is not in state issued
The use case is creating a custom domain of api gateway, which requires a cert
Both cert and custom domain are part of same stack, Hence it fails for first run bcoz cert was still being issued. So it kinda makes sense
But I have to run the same stack second time to run it successfully completely
Any working solution to make it successful in single run?
Like a conditional evaluation that does a wait for the status of the certificate?