Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
wesbragagt opened this issue Jul 30, 2024 · 0 comments
Open
1 task done
Assignees
Labels
bug Something isn't working triage Needs to be triaged

Comments

@wesbragagt
Copy link
Contributor

wesbragagt commented Jul 30, 2024

Prior Search

  • I have already searched this project's issues to determine if a bug report has already been made.

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants