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

Allow provider override for SSH

Open ilsaloving opened this issue 1 year ago • 1 comments
trafficstars

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

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)

  • docker provider
  • all docker resources and data sources

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

  • #0000

ilsaloving avatar Jul 15 '24 23:07 ilsaloving