Setting the tag
to empty a string ""
configures a tag with value 12345
#115
Labels
enhancement
New feature or request
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 apply
Important 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 theTypeString
type 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
The text was updated successfully, but these errors were encountered: