banzaicloud / terraform-provider-k8s

Kubernetes Terraform provider with support for raw manifests
https://registry.terraform.io/providers/banzaicloud/k8s
MIT License
135 stars 30 forks source link

Resource updating is broken on latest master #84

Open sagikazarmark opened 3 years ago

sagikazarmark commented 3 years ago

Describe the bug Updating a resource always ends up in an error: Failed to unmarshal manifest: EOF

Steps to reproduce the issue:

  1. Create any k8s_manifest resource
  2. Try to change and update it

Expected behavior Update should complete without errors

Additional context

I believe #79 introduced two serious breaking changes that led to this bug:

Looking at the PR override_content also seems to be redundant and unnecessary since ignored fields can be computed without storing it.