shihanng / terraform-provider-installer

A Terraform provider to setup development environment machine.
https://registry.terraform.io/providers/shihanng/installer/latest/docs
MIT License
11 stars 3 forks source link

Add UpdateContext to all installer #78

Open DblK opened 1 year ago

DblK commented 1 year ago

When running the script to install let's say nodejs version 16, I wish to be able to change information in my terraform file to 18 and the provider to update/upgrade to the specific version.

Thx

shihanng commented 1 year ago

Using the example of apt resource, since we can not include the version in the name argument (name=version). Changing the value of the name argument should trigger Terraform to destroy the previous version and install a new one. Therefore, I don't think we need the UpdateContext.