Warwick Mitchell

Results 4 comments of Warwick Mitchell

Also seeing this when upgrading from `2.7.1` to `2.8.0` ``` ╷ │ Error: Failed to morph manifest to OAPI type │ │ with module.elasticsearch["staging"].kubernetes_manifest.elasticsearch_elasticsearch, │ on modules/elasticsearch/elasticsearch.tf line 76, in...

Found an only slightly annoying work around, remove the resource from state and then reimport it ``` terraform state rm module.kafka_cluster.kubernetes_manifest.kafka_kafka_strimzi terraform import module.kafka_cluster.kubernetes_manifest.kafka_kafka_strimzi 'apiVersion=kafka.strimzi.io/v1beta2,kind=Kafka,namespace=kafka,name=kafka-strimzi' ```

@ls-sajad-sameti I'm pretty sure this is an issue with Istio not providing the Schema in the CRD correctly. Unfortunately had no luck in asking the Istio team to add: https://github.com/istio/istio/issues/33535

We've had this same issue, and worked around it in a slightly ugly way with yamlencode/decode. ``` resource "kubernetes_manifest" "rel" { manifest = { apiVersion = "helm.toolkit.fluxcd.io/v2" kind = "HelmRelease"...