terraform-provider-nginxproxymanager icon indicating copy to clipboard operation
terraform-provider-nginxproxymanager copied to clipboard

Error when api is not available at start

Open RedCreepster opened this issue 3 months ago • 1 comments

If the API is not available when the provider is initialized, the error occurs:

Post "http://10.0.2.81:81/api/tokens": dial tcp 10.0.2.81:81: connect: no route to host

This can happen if I first create the docker_container resource and then use it in your provider.

The kreuzwerker/docker provider has a disable_docker_daemon_check parameter that helps in my case.

I have solved the problem with terragrunt and ignoring errors now, but this is wrong.

Could you please add a similar parameter to the provider? I looked at your code and realized that it will not be easy, but I really hope you will implement it.

RedCreepster avatar Aug 04 '25 21:08 RedCreepster