[Bug]: "region" is not a required argument for "linode_nodebalancer_config"
Closed this issue · 2 comments
fabkravmaga commented
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
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:
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
- 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"
}
- Run Terraform Plan
fabkravmaga commented
Made a PR to update the doc
github-actions commented
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days