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

[Bug]: "region" is not a required argument for "linode_nodebalancer_config" #1643

Open
fabkravmaga opened this issue Nov 5, 2024 · 1 comment
Labels
bug issues that report a bug

Comments

@fabkravmaga
Copy link
Contributor

Terraform Version

Terraform v1.9.7 on darwin_arm64

Linode Provider Version

version = 2.29.1

Effected Terraform Resources

linode_nodebalancer_config doc says region is required when it is not
Screenshot 2024-11-04 at 8 22 06 PM

Terraform Config Files

resource "linode_nodebalancer_config" "foofig" {
    region = var.region
    nodebalancer_id = linode_nodebalancer.foobar.id
    port = 8088
    protocol = "http"
    check = "http"
    check_path = "/foo"
    check_attempts = 3
    check_timeout = 30
    stickiness = "http_cookie"
    algorithm = "source"
}

Debug Output

Terraform Run Error:

Screenshot 2024-11-04 at 8 23 30 PM

Panic Output

No response

Expected Behavior

region should have been an acceptable argument in resource linode_nodebalancer_config

Actual Behavior

Having region argument in resource linode_nodebalancer_config threw an error.

Steps to Reproduce

  1. Create main.tf:
resource "linode_nodebalancer" "foobar" {
    label = "mynodebalancer"
    region = "us-east"
    client_conn_throttle = 20
}

resource "linode_nodebalancer_config" "foofig" {
    region = var.region
    nodebalancer_id = linode_nodebalancer.foobar.id
    port = 8088
    protocol = "http"
    check = "http"
    check_path = "/foo"
    check_attempts = 3
    check_timeout = 30
    stickiness = "http_cookie"
    algorithm = "source"
}
  1. Run Terraform Plan
@fabkravmaga fabkravmaga added the bug issues that report a bug label Nov 5, 2024
fabkravmaga added a commit to fabkravmaga/terraform-provider-linode that referenced this issue Nov 5, 2024
Fix issue linode#1643 - region is not a required argument
@fabkravmaga
Copy link
Contributor Author

Made a PR to update the doc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issues that report a bug
Projects
None yet
Development

No branches or pull requests

1 participant