terraform-coop / terraform-provider-foreman

Terraform provider for Foreman
https://registry.terraform.io/providers/terraform-coop/foreman
Mozilla Public License 2.0
33 stars 31 forks source link

project: switch to terraform sdk v2 context and diagnostic #70

Closed MrFreezeex closed 2 years ago

MrFreezeex commented 2 years ago

Signed-off-by: Arthur Outhenin-Chalandre arthur.outhenin-chalandre@cern.ch

This migrate {Read,Update,Delete} functions to {Read,Update,Delete}Context functions. It allows to have context and the "new" diagnostics from terraform (that would allow to have warning as well).

lhw commented 2 years ago

@MrFreezeex could you rebase and change target to the master branch?