Results 40 comments of Danny

+1 on this, feature would be amazing to see in the terraform provider

Hi all i'm facing a similar issue when using the depends on flag with the stated kubernetes provider where my code is as follows ``` provider "kubernetes" { host =...

@emilianofs it looks like the error is coming as the template file is being decoded however the kubectl mainifest is being applied and this needs to be in yaml format...

can also confirm error exists for CRDs such as ```Error: cert-manager/letsencrypt-prod-origin failed to create kubernetes rest client for update of resource: resource [cert-manager.io/v1/ClusterIssuer] isn't valid for cluster, check the APIVersion...

Interestingly when using the Kubernetes resource via the hashicorp provider the same config works? ``` resource "kubernetes_config_map_v1" "example" { metadata { name = "nginx-config" } data = { ssl-ciphers: "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384"...

Ok so I found an interesting article which uses this particular provider so it turns out that you can use terraform functions to figure out how to convert the yaml...

Another bit of research which is quite interesting https://github.com/hashicorp/terraform-provider-kubernetes-alpha/issues/199#issuecomment-832614387

Hey @balaramesh so i'm trying to create the backend through azure pipelines and a terraform template example code ``` data "template_file" "netapp_backend_config"{ depends_on = [kubernetes_secret_v1.netapp] template = file("${path.module}/BackendCRD/backend-anf.yaml") vars =...

@balaramesh yeah that's makes sense I did try this technique via ``` resource "time_sleep" "wait_30_seconds" { depends_on = [helm_release.netapphelm] create_duration = "240s" } ``` unfortunately I recived the same error...

@balaramesh i can try 10 minutes maybe, tried 6 minutes but got the same error? is the command for the version of trident ``` kubectl describe torc trident ```