bhouse-nexthop commented on PR #283:
URL:
https://github.com/apache/cloudstack-terraform-provider/pull/283#issuecomment-4957203784
@vishesh92 @sureshanaparti thanks for the report and the ping — fixed in
46a69f6.
Root cause: `resourceCloudStackPrivateGatewayUpdate` was calling
`resourceCloudStackNetworkRead` instead of
`resourceCloudStackPrivateGatewayRead`. The network read does
`d.Get("project").(string)`, but the private gateway resource has no `project`
attribute, so the type assertion panicked (`interface {} is nil, not string`).
This affected any update path (changing `acl_id` would hit it too), not just
`bypass_vlan_overlap_check`. It now refreshes via the private gateway's own
read function, so the true→false change applies cleanly. PTAL.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]