Using the Terraform Docker Provider with a DigitalOcean droplet resource #580
Replies: 1 comment 2 replies
-
My understanding is that this is not possible bc providers must be configured statically at boot.
I expected this to work and this usecase to be supported by terraform ("manage different resources and compose them together with the same config format"), i guess I'll be looking for a different tool, maybe a friend said:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using Terraform to create Digital Ocean droplets, and I would like to use the Docker provider to set up my app after the droplet is created, however, I can't configure the Docker provider to use the droplet:
I can't interpolate the address of the created droplet inside the provider block, I get the following error:
Error: Error initializing Docker client: unable to parse docker host
How can I get this working?
Thanks in advance for any help…
Beta Was this translation helpful? Give feedback.
All reactions