Creating CAS failed due to racing conditions

Hello,

I would like to create an IssuingCA based on Google Certificate Authorization Service. The examples work quite well, but sometimes (during testing) I’m getting the error message, that the CA Pool isn’t there. IDs are correct and match. Terraform is sending the commands to create the ca within the ca_pool before the creation of the ca pool is finished.

Any idea how to fix it. Resending “terraform apply” after some minutes isn’t an elegant solution.

Regards,
Mario