Open kreesan-m-23 opened 3 years ago
Error: Unsupported block type
on .terraform\modules\kubeflow\istio\operator.tf line 72, in resource "kubernetes_deployment" "istio_operator": 72: limits {
Blocks of type "limits" are not expected here. Did you mean to define argument "limits"? If so, use the equals sign to assign it a value.
on .terraform\modules\kubeflow\istio\operator.tf line 77, in resource "kubernetes_deployment" "istio_operator": 77: requests {
Blocks of type "requests" are not expected here. Did you mean to define argument "requests"? If so, use the equals sign to assign it a value.
I got it working by adding = sign before limits and requests as here
=
limits
requests
resources { limits = { cpu = "200m" memory = "256Mi" } requests = { cpu = "50m" memory = "128Mi" } }
Error: Unsupported block type
on .terraform\modules\kubeflow\istio\operator.tf line 72, in resource "kubernetes_deployment" "istio_operator": 72: limits {
Blocks of type "limits" are not expected here. Did you mean to define argument "limits"? If so, use the equals sign to assign it a value.
Error: Unsupported block type
on .terraform\modules\kubeflow\istio\operator.tf line 77, in resource "kubernetes_deployment" "istio_operator": 77: requests {
Blocks of type "requests" are not expected here. Did you mean to define argument "requests"? If so, use the equals sign to assign it a value.