diff --git a/.terraform.lock.hcl b/.terraform.lock.hcl index 37e4fe5..7241f76 100644 --- a/.terraform.lock.hcl +++ b/.terraform.lock.hcl @@ -3,7 +3,7 @@ provider "registry.terraform.io/brendanthompson/scratch" { version = "0.4.0" - constraints = "0.4.0" + constraints = "0.4.0, ~> 0.4" hashes = [ "h1:MTVRrvKcbCMw67V+QMOWkHaH5W6wusaBwoB2e6HcELM=", "zh:02de448b66fa61d39588dadb267698f361a3b681beb48d6576068923de600df7", @@ -106,3 +106,25 @@ provider "registry.terraform.io/matthewbaggett/ssh" { "zh:d2f7677b7b27ae80395bc4e7606cb25fb1c84770a1b6a7042dcc6b92558c7d1b", ] } + +provider "registry.terraform.io/telmate/proxmox" { + version = "3.0.1-rc3" + constraints = "3.0.1-rc3" + hashes = [ + "h1:x7TfUaW+RpBtGov4DBuSJ5YPYBozapWuLyyZs0qjsKY=", + "zh:3699c41289c6fbe0f33b6c54360d43dcfba429de5fbf49506df9276d03aea915", + "zh:486c9ddda427d3fecdc6dfa189fce85c4a2aa1f490b024d636c0ac6a4dd3c692", + "zh:6091e141a0b8dcb1632c31e0f9555117bb023176c5d083f0e03441bbcf673a4e", + "zh:63d312c2c2994ed39dcb47b4d43c89990bd5fff20dbda63cddfb11c9202270f4", + "zh:6e69c70a85cfa720f543090ee3ce7d2eb2902df19657121b8b7ae64d44875d9f", + "zh:897b9f6075262fc9533f87d470217b14ae82614c6818a26b578a6d41c403d4eb", + "zh:91c24bd374fb8ee0c9e4e1c213d157139c047be78b0cafac3c4c9724db8083b0", + "zh:a224b58759314dc045fdbfc88b63b036b8ca6f75ad32606e94b553f150077c13", + "zh:a56e940c71b45e222c69a2a45388b58ed319836b922f84f62bded5b063662f4a", + "zh:b2e0a83aa535cd3493fbc7485d05d1a823c48bf487e313703f01a17edc631908", + "zh:ba0ad4fea8ba3b01c67fb164ed92fa927ac70d2d898378d192a01e818fcf6bee", + "zh:c49ebe13e7011d35d72e8e6a720df83f21c106444ef4383c5d6c0015aee55db6", + "zh:c53e2775040e103aedcce06b9acb79ca5fccdb4c578a4b6e32489c89e9c652dc", + "zh:c9002cc470ccfd8cd298d5655cf76af84b1d8a200207973d9ad80235818e89e3", + ] +} diff --git a/proxmox.tf b/proxmox.tf new file mode 100644 index 0000000..3e24f18 --- /dev/null +++ b/proxmox.tf @@ -0,0 +1,15 @@ +variable "proxmox_endpoint" { + type = string +} +variable "proxmox_token_id" { + type = string +} +variable "proxmox_token_secret" { + type = string +} +provider "proxmox" { + pm_debug = true + pm_api_url = var.proxmox_endpoint + pm_api_token_id = var.proxmox_token_id + pm_api_token_secret = var.proxmox_token_secret +} \ No newline at end of file diff --git a/terraform.tf b/terraform.tf index dbb34e8..802446e 100644 --- a/terraform.tf +++ b/terraform.tf @@ -18,6 +18,10 @@ terraform { source = "BrendanThompson/scratch" version = "0.4.0" } + proxmox = { + source = "Telmate/proxmox" + version = "3.0.1-rc3" + } } backend "s3" {