AviatrixSystems / terraform-provider-aviatrix

Terraform Aviatrix provider
https://www.terraform.io/docs/providers/aviatrix/
Mozilla Public License 2.0
43 stars 50 forks source link

aviatrix_copilot_simple_deployment docs reference typo #1882

Open doubletwist13 opened 11 months ago

doubletwist13 commented 11 months ago

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 commented 10 months ago

We've noticed the same issue in the doc page for aviatrix_copilot_fault_tolerant_deployment. I'm guessing you'll want to go through all the docs and make sure you've got the output names correct in the docs.