NetApp / terraform-provider-netapp-cloudmanager

Terraform provider to create NetAPP OCCM instances, CVO resources, volumes, snapshots, ... in Azure, AWS, GCP.
Mozilla Public License 2.0
17 stars 27 forks source link

netapp-cloudmanager_cvo_aws: mediator_assign_public_ip is ignored (not sent in API request) #40

Closed dmccaffery closed 3 years ago

dmccaffery commented 3 years ago

When the MediatorAssignPublicIP value is set to false (default value for a bool value type in golang), the struct tag with omitempty does not include the boolean in the request. The default value server-side appears to be true, which currently makes it impossible to create a mediator without assigning a public IP.

jorgeedugona commented 3 years ago

Hi Team, Is there a fix for this? Assigning a public IP to the mediator is not an option for some people. Kind Regards Jorge

lonico commented 3 years ago

As indicated by Justin, this was fixed 25 days ago. This was published in The Terraform Registry as 21.4.0. Note that we just published a 21.5.0 yesterday.