Fn::Select cannot select nonexistent value at index 1
unfii opened this issue · 2 comments
unfii commented
I am trying to deploy tableau cluster linux and get error
JohnLahr commented
Unless you edit the template yourself, the Linux cluster template expects you to provide at least three private subnets in the parameters. It selects them with the following snippets for the primary server and workers respectively:
"SubnetId": {
"Fn::Select": [
"0",
{
"Ref": "PrivateSubnetIds"
}
]
}
"VPCZoneIdentifier": {
"Fn::Split": [
",",
{
"Fn::Join": [
",",
[
{
"Fn::Select": [
"1",
{
"Ref": "PrivateSubnetIds"
}
]
},
{
"Fn::Select": [
"2",
{
"Ref": "PrivateSubnetIds"
}
]
}
]
]
}
]
}
I'd be willing to bet you've only provided a single private subnet in your template parameters.
vsnyc commented
This is no longer relevant.