Skip to content

Document ipv6 attribute in loadbalancer resource#1490

Open
lucas2kdk wants to merge 1 commit intodigitalocean:mainfrom
lucas2kdk:docs/add-ipv6-attribute-loadbalancer
Open

Document ipv6 attribute in loadbalancer resource#1490
lucas2kdk wants to merge 1 commit intodigitalocean:mainfrom
lucas2kdk:docs/add-ipv6-attribute-loadbalancer

Conversation

@lucas2kdk
Copy link
Copy Markdown

Summary

The ipv6 computed attribute was missing from the loadbalancer resource documentation, despite being implemented in the code since the addition of DUALSTACK network_stack support.

Changes

  • Added ipv6 attribute to the Attributes Reference section in docs/resources/loadbalancer.md

Context

The ipv6 attribute is available on both the digitalocean_loadbalancer resource and data source when a load balancer is configured with network_stack = "DUALSTACK". This attribute returns the IPv6 address assigned to the load balancer, similar to how the ip attribute returns the IPv4 address.

The implementation exists in digitalocean/loadbalancer/datasource_loadbalancer.go (lines 70-73, 439-441) and the resource implementation, but was not documented in the Attributes Reference section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant