Closed Sreerag74031 closed 3 years ago
Hi @Sreerag74031,
Thanks for reporting this issue. Color field is missing from resource read function and as a result it's not part from resource state. We will fix that in the next version of Check Point provider. Meanwhile, you can add your fix solution and build provider locally.
Thanks, Roy
@chkp-royl i will try to build it locally; however for another open issue #64 anyway i need to edit terraform state file i may update the color field to workaround this.
Thank you for submitting this issue, We fixed this issue on our provider's new version, V1.5.0, This version is now available for use.
While trying to import tcp sertvice color is not getting imported to terraform state, this is resulting in terraform plan output object changes.
Adding below code in readManagementServiceTcp may fix the issue
if v := serviceTcp["color"]; v != nil { _ = d.Set("color", v) }