We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If you create an origin pool with more than one origin server, only the first on in the plan will be deployed.
Here is my configuration:
resource "volterra_origin_pool" "pool" { name = "example-pool" namespace = var.namespace origin_servers { public_ip { ip = "10.1.2.3" } public_ip { ip = "10.1.2.2" } } port = "80" endpoint_selection = "LOCAL_PREFERRED" loadbalancer_algorithm = "LB_OVERRIDE" }
Here is the related plan:
# volterra_origin_pool.pool will be created + resource "volterra_origin_pool" "pool" { + endpoint_selection = "LOCAL_PREFERRED" + id = (known after apply) + loadbalancer_algorithm = "LB_OVERRIDE" + name = "example-pool" + namespace = "default" + port = 80 + origin_servers { + public_ip { + ip = "10.1.2.2" } + public_ip { + ip = "10.1.2.3" } } }
After apply only origin server 10.1.2.2 will be created on F5XC. In terraform.tfstate I can see both origin server.
$ terraform version Terraform v1.3.7 on linux_amd64 + provider registry.terraform.io/volterraedge/volterra v0.11.21
The text was updated successfully, but these errors were encountered:
In my last deployment 10.1.2.3 was deployed. looks like its random.
Sorry, something went wrong.
@devopsinout: Can you pls take a look at this issue?
I got it working with the following syntax:
resource "volterra_origin_pool" "pool" { name = "example-pool" namespace = var.namespace origin_servers { public_ip { ip = "10.1.2.2" } } origin_servers { public_ip { ip = "10.1.2.3" } } port = "80" endpoint_selection = "LOCAL_PREFERRED" loadbalancer_algorithm = "LB_OVERRIDE" }
Still we should through an error, if the first syntax is wrong.
abhinavgrover15
No branches or pull requests
If you create an origin pool with more than one origin server, only the first on in the plan will be deployed.
Here is my configuration:
Here is the related plan:
After apply only origin server 10.1.2.2 will be created on F5XC. In terraform.tfstate I can see both origin server.
The text was updated successfully, but these errors were encountered: