Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ELB] ip_group attribute in data_source/opentelekomcloud_lb_listener_v3 #2126

Merged
merged 2 commits into from Mar 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 5 additions & 3 deletions docs/data-sources/lb_listener_v3.md
Expand Up @@ -79,12 +79,14 @@ In addition, the following attributes are exported:

* `sni_container_refs` - Lists the IDs of SNI certificates (server certificates with domain names) used by the listener.

* `advanced_forwarding` - (Optional) Specifies whether to enable advanced forwarding.
* `advanced_forwarding` - Specifies whether to enable advanced forwarding.

* `sni_match_algo` - (Optional) Specifies how wildcard domain name matches with the SNI certificates
* `sni_match_algo` - Specifies how wildcard domain name matches with the SNI certificates
used by the listener.

* `security_policy_id` - (Optional) Specifies the ID of the custom security policy.
* `security_policy_id` - Specifies the ID of the custom security policy.

* `ip_group` - Specifies the IP address group associated with the listener.

* `tags` - Tags key/value pairs to associate with the loadbalancer listener.

Expand Down
Expand Up @@ -151,6 +151,26 @@ func DataSourceListenerV3() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"ip_group": {
Type: schema.TypeList,
Computed: true,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"id": {
Type: schema.TypeString,
Computed: true,
},
"enable": {
Type: schema.TypeBool,
Computed: true,
},
"type": {
Type: schema.TypeString,
Computed: true,
},
},
},
},
},
}
}
Expand Down
@@ -0,0 +1,4 @@
---
fixes:
- |
**[ELB]** Fix setting `ip_group` field in ``data/opentelekomcloud_lb_listener_v3`` (`#2126 <https://github.com/opentelekomcloud/terraform-provider-opentelekomcloud/pull/2126>`_)