kreuzwerker / terraform-provider-docker

Terraform Docker provider
Mozilla Public License 2.0
599 stars 187 forks source link

Allow provider override for SSH #638

Open ilsaloving opened 1 month ago

ilsaloving commented 1 month ago

Community Note

Description

Currently, this plugin requires you to have the provider configured ahead of time. This doesn't work if you don't know ahead of time how many docker servers you will be working with.

We need the ability to ssh into arbitrary servers.

New or Affected Resource(s)

Potential Terraform Configuration

Every resource that interacts with docker should have provider overrides so you can target arbitrary servers. See https://registry.terraform.io/providers/jaczkal/linux/latest for an example

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.

References

ilsaloving commented 1 month ago

Looks like someone else has already taken care of it.

https://registry.terraform.io/providers/bierwirth-it/docker https://github.com/bierwirth-it/terraform-provider-docker

Thank you Bierwirth!