Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform Version
DCNM version
Affected Resource(s)
Terraform Configuration Files
resource "dcnm_network" "first" {
fabric_name = "MyFabrc"
name = "MyNetwok"
network_id = "1234"
display_name = "MyNetwok"
vrf_name = "MyVRF"
tag = ""
deploy = false
}
Debug Output
Panic Output
Expected Behavior
Routing Tag in NDFC should not be set to the default value (12345)
Actual Behavior
The value of the Routing Tag field should be empty but it configures the default value

Steps to Reproduce
terraform apply
Important Factoids
References
Community Note
Terraform Version
DCNM version
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
Routing Tag in NDFC should not be set to the default value (12345)
Actual Behavior
The value of the Routing Tag field should be empty but it configures the default value

Steps to Reproduce
terraform applyImportant Factoids
References
GetOk()https://github.com/hashicorp/terraform-plugin-sdk/blob/2b557120cdae1e960aead54a299748a418ca3e94/helper/schema/resource_data.go#L84 assumes an empty string""as the Zero Value for theTypeStringtype https://github.com/hashicorp/terraform-plugin-sdk/blob/2b557120cdae1e960aead54a299748a418ca3e94/helper/schema/schema.go#L2358. TheGetOk()function is used in the Create function()terraform-provider-dcnm/dcnm/resource_dcnm_network.go
Line 693 in d0ff6c3