-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
provider/openstack: LoadBalancer v2 VIP Port ID #9727
Conversation
e60165b
to
5bfa42f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 small comment for this wrt option
@@ -57,6 +57,12 @@ func resourceLoadBalancerV2() *schema.Resource { | |||
ForceNew: true, | |||
}, | |||
|
|||
"vip_port_id": &schema.Schema{ | |||
Type: schema.TypeString, | |||
Optional: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IF this is exported only, then we shouldn't have the Optional: true
- this allows the user to set it. But we never use the value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, Paul. I was going to double-check this on Slack :)
So just remove the Optional
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yessir!
This commit adds vip_port_id as an exported attribute to the lb_loadbalancer_v2 resource.
5bfa42f
to
e75d414
Compare
LGTM! Thanks for the work @jtopjian :) |
This commit adds vip_port_id as an exported attribute to the lb_loadbalancer_v2 resource.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
This commit adds vip_port_id as an exported attribute to the
lb_loadbalancer_v2 resource.
Fixes #7542
/cc @dkalleg