Forum Discussion
mihaic
Apr 06, 2023MVP
AS3 pool members using a list
I have started to play with AS3. I've tried some examples and they work fine.
But I have counter a problem. Maybe it is not possible.
I am using Terraform and AS3 data template to configure a vir...
- Apr 07, 2023
Try removing the square brackets and quotes around the ${MEMBERS} variable in the JSON. I spotted this example from one of Sebastian_Maniak 's guides:
in the module: MY_POOLMEMBERS = jsonencode(var.pool_members) in the json: "members": [{ "servicePort": 80, "shareNodes": true, "serverAddresses": ${MY_POOLMEMBERS} }]
Try removing the square brackets and quotes around the ${MEMBERS} variable in the JSON. I spotted this example from one of Sebastian_Maniak 's guides:
in the module:
MY_POOLMEMBERS = jsonencode(var.pool_members)
in the json:
"members": [{
"servicePort": 80,
"shareNodes": true,
"serverAddresses": ${MY_POOLMEMBERS}
}]
Leslie_Hubertus
Apr 07, 2023Ret. Employee
JoshBecigneul FTW!
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects