terraform-provider-aviatrix
terraform-provider-aviatrix copied to clipboard
aviatrix_copilot_simple_deployment docs reference typo
The aviatrix_copilot_simple_deployment
docs reference outputs of public_id
and private_id
:
https://github.com/AviatrixSystems/terraform-provider-aviatrix/blob/e49f3ec0b7176668a32e2e71b6fc67502a346c8c/docs/resources/aviatrix_copilot_simple_deployment.md?plain=1#L47-L48
but it seems it actually outputs as public_ip
and private_ip
:
https://github.com/AviatrixSystems/terraform-provider-aviatrix/blob/e49f3ec0b7176668a32e2e71b6fc67502a346c8c/aviatrix/resource_aviatrix_copilot_simple_deployment.go#L164C1-L165C3
d.Set("private_ip", copilotAssociationStatus.IP)
d.Set("public_ip", copilotAssociationStatus.PublicIp)
which makes more sense anyway, so I'm guessing it just needs a fix in the doc.