netascode / terraform-provider-fmc

Mozilla Public License 2.0
2 stars 7 forks source link

add `fmc_device_subinterface` #67

Closed jabielecki closed 1 month ago

jabielecki commented 1 month ago

Closes #58

As usual in the GH UI, please Load file whenever it's hidden. Manual code: https://github.com/netascode/terraform-provider-fmc/pull/67/files#diff-db08363d4a5c5231b8271f6dbd0800ddafb361407e22e00ebe84f01c90dbc7a0R246-R259

These few lines remove the pervasive need for depends_on on every resource (which also breaks the tests). (Terraform does not wait for fmc_device_physical_interface.parent.name to actually get created - such waiting only happens for Unknown values in Terraform. While name is always known, the id is initially unknown.) @danischm