aequitas / terraform-provider-transip

Terraform provider to manage Transip resources
https://registry.terraform.io/providers/aequitas/transip/latest/docs
MIT License
35 stars 16 forks source link

Installer failed to process the preconfiguration file #61

Open pabl-o-ce opened 2 years ago

pabl-o-ce commented 2 years ago

Hi guys,

I'm trying to use Debian or Ubuntu latest versions but don't know why I get this error whenever I try to create with Terraform unknown

When I use cloud-init without Terraform on Debian latest version work great.

Maybe something I'm doing wrong?

JoooostB commented 2 years ago

Hi @pabl-o-ce,

Could you share the Terraform code in which you define this VPS resource?

pabl-o-ce commented 2 years ago

Hi @JoooostB

sure,

this is the repo: https://github.com/pabl-o-ce/crowdsec-tf-workshop-vms

Transip file: https://github.com/pabl-o-ce/crowdsec-tf-workshop-vms/blob/main/transip_resources.tf

but in there also we have digital ocean and aws.... I can isolate the Transip if you need it :)

Edit: try with Debian latest version

JoooostB commented 2 years ago

This may be due to instalFlavour being set to installer by default on TransIP's API. For your use-case this should be cloudinit instead.

@aequitas I think we should add a configuration option to the VPS resource for instalFlavour

aequitas commented 2 years ago

There was already a issue for that https://github.com/aequitas/terraform-provider-transip/issues/29 should be no problem to add that.

JoooostB commented 2 years ago

Indeed, but we may want to migrate to sdk-v2 first before adding new stuff? Happy to add the feature nonetheless.

klausagnoletti commented 2 years ago

Great to hear you guys are working to solve the problem but could you maybe give a time estimate? Currently it's a blocker for things to work properly when I do workshops on CrowdSec (I had an agreement with Richard Koorevaar from TransIP to mention them but I can't since I can't spin a vps up in TransIP because of this..) Thanks!