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

provider/openstack: LoadBalancer v2 VIP Port ID #9727

Merged
merged 1 commit into from
Nov 1, 2016

Conversation

jtopjian
Copy link
Contributor

@jtopjian jtopjian commented Oct 30, 2016

This commit adds vip_port_id as an exported attribute to the
lb_loadbalancer_v2 resource.

Fixes #7542

/cc @dkalleg

Copy link
Contributor

@stack72 stack72 left a 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,
Copy link
Contributor

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

Copy link
Contributor Author

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?

Copy link
Contributor

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.
@jtopjian jtopjian force-pushed the openstack-lbaasv2-vipportid branch from 5bfa42f to e75d414 Compare November 1, 2016 02:17
@stack72
Copy link
Contributor

stack72 commented Nov 1, 2016

LGTM! Thanks for the work @jtopjian :)

@stack72 stack72 merged commit b269b41 into hashicorp:master Nov 1, 2016
gusmat pushed a commit to gusmat/terraform that referenced this pull request Dec 6, 2016
This commit adds vip_port_id as an exported attribute to the
lb_loadbalancer_v2 resource.
@jtopjian jtopjian deleted the openstack-lbaasv2-vipportid branch March 23, 2017 16:09
@ghost
Copy link

ghost commented Apr 15, 2020

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.

@ghost ghost locked and limited conversation to collaborators Apr 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants