Terraform Version
Terraform v1.15.2 on darwin_arm64
Linode Provider Version
version = "3.12.0"
Effected Terraform Resources
linode_nodebalancer_node
Terraform Config Files
resource "linode_nodebalancer_node" "this" {
count = length(var.nodes)
nodebalancer_id = linode_nodebalancer.this.id
config_id = linode_nodebalancer_config.this.id
label = var.nodes[count.index].label
address = var.nodes[count.index].address
mode = "accept"
}
---
module "nodebalancer_region_a" {
source = "../../../modules/nodebalancer"
label = var.region_a_nodebalancer_label
region = var.region_a
vpc_subnet_ids = [data.terraform_remote_state.network.outputs.subnet_ids_region_a["site-a-private-subnet"]]
nodes = [
{
label = module.backend_server_a.label
//address = "${module.backend_server_a.vpc_ipv4}:80"
address = "${module.backend_server_a.vpc_ipv4}:80"
},
{
label = module.backend_server_b.label
address = "${module.wireguard_server.vpc_ipv4}:80"
}
]
}
Debug Output
Error: Failed to Create a Linode NodeBalancerNode
│
│ with module.nodebalancer_region_a.linode_nodebalancer_node.this[0],
│ on ../../../modules/nodebalancer/main.tf line 36, in resource "linode_nodebalancer_node" "this":
│ 36: resource "linode_nodebalancer_node" "this" {
│
│ [400] [address] Must begin with 192.168
Panic Output
No response
Expected Behavior
Node balancer shoud be able to allow VPC addresses other than 192.168.x.x as stands the API doc
https://techdocs.akamai.com/linode-api/reference/post-node-balancer-node
Actual Behavior
Error
Steps to Reproduce
-Create a VPC
-Create Linodes assigned to that VPC and subnet with only VPC network interface
-Create a Nodebalancer
-Configure Nodebalancer
-Configure Nodebalancer nodes
Terraform Version
Terraform v1.15.2 on darwin_arm64
Linode Provider Version
version = "3.12.0"
Effected Terraform Resources
linode_nodebalancer_node
Terraform Config Files
Debug Output
Error: Failed to Create a Linode NodeBalancerNode
│
│ with module.nodebalancer_region_a.linode_nodebalancer_node.this[0],
│ on ../../../modules/nodebalancer/main.tf line 36, in resource "linode_nodebalancer_node" "this":
│ 36: resource "linode_nodebalancer_node" "this" {
│
│ [400] [address] Must begin with 192.168
Panic Output
No response
Expected Behavior
Node balancer shoud be able to allow VPC addresses other than 192.168.x.x as stands the API doc
https://techdocs.akamai.com/linode-api/reference/post-node-balancer-node
Actual Behavior
Error
Steps to Reproduce
-Create a VPC
-Create Linodes assigned to that VPC and subnet with only VPC network interface
-Create a Nodebalancer
-Configure Nodebalancer
-Configure Nodebalancer nodes