Damans227 opened a new pull request, #289: URL: https://github.com/apache/cloudstack-terraform-provider/pull/289
The `cidr` field was marked as `Required` in the Terraform provider's schema for `cloudstack_network`, but the CloudStack `createNetwork` API only requires `name`, `networkOfferingId`, and `zoneId`. `gateway` and `netmask` are optional and unnecessary for L2 networks. This change makes `cidr` optional and conditionally applies the CIDR/gateway/netmask logic only when a CIDR is provided. An acceptance test has been added to verify L2 network creation without CIDR. -- 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]
