Panfactum / stack

The Panfactum Stack
https://panfactum.com
Other
16 stars 5 forks source link

[Bug]: kube_pg_cluster provider produced inconsistent result after apply #95

Closed wesbragagt closed 2 weeks ago

wesbragagt commented 4 months ago

Prior Search

What happened?

When I set the kube_pg_cluster attributes for pg_cpu_millicores = 1000 or pg_cpu_milicores = 2000 I get an error when running terragrunt apply.

I've noticed that any number under 1000 will work. As I've successfully set mine to 800.

Steps to Reproduce

When consuming the kube_pg_cluster module set the pg_cpu_milicores to a 3 digits number such as 1000 or 2000 and run a terragrunt apply.

Relevant log output

Error: Provider produced inconsistent result after apply
│
│ When applying changes to
│ module.database.kubernetes_manifest.postgres_cluster, provider
│ "provider[\"registry.opentofu.org/hashicorp/kubernetes\"]" produced an
│ unexpected new value: .object.spec.resources.requests["cpu"]: was
│ cty.StringVal("1000m"), but now cty.StringVal("1").
│
│ This is a bug in the provider, which should be reported in the provider's
│ own issue tracker.
╵
ERRO[0120] tofu invocation failed in /Users/wesbragagt/dev/work/implentio/infrastructure-v2/.terragrunt-cache/4ZtjEBWahHyl8YAeFIl0EiWNLjo/bxv1SWE1sYfB7GuA1s35C-j0Y1M/implentio_db  error=[/Users/wesbragagt/dev/work/implentio/infrastructure-v2/.terragrunt-cache/4ZtjEBWahHyl8YAeFIl0EiWNLjo/bxv1SWE1sYfB7GuA1s35C-j0Y1M/implentio_db] exit status 1 prefix=[/Users/wesbragagt/dev/work/implentio/infrastructure-v2/environments/development/us-west-2/implentio_db]
ERRO[0120] 1 error occurred:
        * [/Users/wesbragagt/dev/work/implentio/infrastructure-v2/.terragrunt-cache/4ZtjEBWahHyl8YAeFIl0EiWNLjo/bxv1SWE1sYfB7GuA1s35C-j0Y1M/implentio_db] exit status 1
fullykubed commented 2 weeks ago

Resolved in upcoming release