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

LBAAS-2800: no region field needed for global lb type #1046

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
updated region field for lb to be optional
  • Loading branch information
apinonformoso committed Oct 9, 2023
commit b086efc18d5dde1aa1f4323e2d468d97bbf1d6d9
2 changes: 1 addition & 1 deletion digitalocean/loadbalancer/resource_loadbalancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func resourceDigitalOceanLoadBalancerV0() *schema.Resource {
Schema: map[string]*schema.Schema{
"region": {
Type: schema.TypeString,
Required: true,
Optional: true,
ForceNew: true,
StateFunc: func(val interface{}) string {
// DO API V2 region slug is always lowercase
Expand Down