terraform-provider-aviatrix icon indicating copy to clipboard operation
terraform-provider-aviatrix copied to clipboard

aviatrix_copilot_simple_deployment docs reference typo

Open doubletwist13 opened this issue 1 year ago • 1 comments

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.

doubletwist13 avatar Oct 13 '23 14:10 doubletwist13