Closed yuqo2450 closed 3 years ago
The error is known, I am working on it
For clarification: Can you run in Debug-Mode and post the output ?
Not sure if the debug log helps, cause there appears no errors at all. It just seems vlanid can't be null and if you set it to null foreman somehow reapplies sth. When calling apply or plan the output of terraform is: vlanid = "%!f(\<nil>)" -> null Probably this helps. Hope linking the log file works as expected? terraform-provider-foreman.log
With https://github.com/HanseMerkur/terraform-provider-foreman/pull/21 i address this problem. After merging and creating a new version you may fix your terraform.tfstate from "vlanid": "%!f(
Terraform wants to change a subnet everytime I run apply when the "vlanid" attribute is omitted. I also set it to null with same result.