Hi, We have an interesting problem with one of our custom terraform provider. Once the resource is created using this provider, it takes some time (4-5 mins) for the status of the resource to become ‘Active’. So, we leveraged “resource.StateChangeConf” and “WaitForState()” to poll for resource status until it reach the target state “Active”.
It works perfectly fine when we test local machine (mac). However, when the “terraform apply” is executed inside docker container as part of Jenkins pipeline, it stops polling for status after approximately 3 minutes. terraform apply keeps running and waiting for this resource to get provisioned. we enabled TRACE, but dont see any error or exception in the log.
Wondering if anyone faced this issue? Any inputs on this is highly appreciated!
Thanks in advance!