Open pythoninthegrass opened 2 weeks ago
To use multiple hosts you'll want to explicitly configure different remote/local providers and pass those as resource options to the relevant images.
Consider also checking out the new docker-build provider.
Appreciate the response! I'll see if I can figure it out and get back to you.
This is more of a question. Looking through the docs, I'm not sure if it's possible to split the docker host (DOCKER_HOST) configuration in
Pulumi.yml
:This of course fails as it's a duplicate key
My use case is that I want some containers to be local while others are remote (or both). An example of this workflow is that on the pulumi host (controller?), it needs prometheus, grafana, and the node-exporter for linux. But on remote nodes, certain prometheus exporters will be deployed (e.g., mongo, redis, elasticsearch, etc.)
The business logic can easily handle this, but not sure how pulumi abstracts the underlying terraform and if that's possible without writing separate stacks.