INFORMATION
Relevant information to this issue:
- OS: MacOS
ISSUE
I’m getting an error when trying to deploy an application, everything were working until now.
❯ terraform plan
data.qovery_cluster.main: Reading...
data.qovery_organization.prison_fellowship: Reading...
qovery_project.pf_digital: Refreshing state... [id=xxx]
data.qovery_organization.prison_fellowship: Read complete after 0s [id=xxx]
module.environment["Production"].qovery_environment.environment: Refreshing state... [id=xxx]
module.environment["Staging"].qovery_environment.environment: Refreshing state... [id=xxx]
data.qovery_cluster.main: Read complete after 0s [id=xxx]
module.environment["Staging"].qovery_database.postgres[0]: Refreshing state... [id=xxx]
module.environment["Production"].qovery_application.app: Refreshing state... [id=xxx]
module.environment["Staging"].qovery_application.app: Refreshing state... [id=xxx]
Planning failed. Terraform encountered an error while generating this plan.
│
│ Error: Provider produced invalid plan
│
│ Provider "registry.terraform.io/qovery/qovery" planned an invalid value for
│ module.environment["Staging"].qovery_application.app.environment_variables: count in plan (cty.UnknownVal(cty.Number)) disagrees with
│ count in config (cty.NumberIntVal(8)).
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
│
│
│ Error: Provider produced invalid plan
│
│ Provider "registry.terraform.io/qovery/qovery" planned an invalid value for
│ module.environment["Staging"].qovery_application.app.secrets: count in plan (cty.UnknownVal(cty.Number)) disagrees with count in
│ config (cty.NumberIntVal(8)).
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
│