Page MenuHomeSoftware Heritage

terraform: update the proxmox provider
ClosedPublic

Authored by vsellier on Dec 15 2021, 12:55 PM.

Details

Summary

This upgrade expose several new options of the vms.
They need to be opened as variables to match the real configuration
of the vms on proxmox.

Related to T3806

Test Plan
terraform init --upgrade
terraform plan

Diff Detail

Repository
rSPRE sysadm-provisioning
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

vsellier created this revision.
ardumont added a subscriber: ardumont.

lgtm

I've focused on the terraform "manifest".

Couple of non-blocking questions inline (i think ;)

proxmox/terraform/admin/terraform.tfstate
187–189

is that change ok ^?

proxmox/terraform/modules/node/main.tf
63

we no longer need that information then?

This revision is now accepted and ready to land.Dec 15 2021, 2:47 PM
proxmox/terraform/admin/terraform.tfstate
187–189

yes it seems it is.
https://pve.proxmox.com/wiki/Storage

rbd is well the type of the 'proxmox' storage
The cephfs type is used by proxmox-cephfs. probably a bug on the earlier version of the provisionner

proxmox/terraform/modules/node/main.tf
63

good catch

Remove last references to storage_type

This revision was automatically updated to reflect the committed changes.