We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8800bc8 commit 5f61cf6Copy full SHA for 5f61cf6
1 file changed
modules/network/gpu-rdma-vpc/variables.tf
@@ -67,8 +67,8 @@ variable "subnetworks_template" {
67
validation {
68
# If it's NOT a RoCE Metal profile, the template cannot be null
69
condition = (
70
- can(regex("vpc-roce-metal", var.network_profile)) ?
71
- var.subnetworks_template == null :
+ can(regex("vpc-roce-metal", var.network_profile)) ?
+ var.subnetworks_template == null :
72
var.subnetworks_template != null
73
)
74
error_message = "subnetworks_template must be null when using 'vpc-roce-metal' network profile and non-null for all other profiles."
0 commit comments