-
-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Labels
bug🐛 An issue with the system🐛 An issue with the system
Description
Found a bug? Maybe our Slack Community can help.
Describe the Bug
│ Error: Invalid count argument
│
│ on .terraform/modules/main.mq_broker/main.tf line 42, in resource "random_password" "mq_application_password":
│ 42: count = local.enabled && ! local.mq_application_password_is_set ? 1 : 0
│
│ The "count" value depends on resource attributes that cannot be determined until apply, so Terraform cannot predict how many instances will be created.
│ To work around this, use the -target argument to first apply only the resources that the count depends on.
Expected Behavior
im using the following for random password gen:
resource "random_password" "password" {
length = 32
special = true
override_special = "-._~"
}
Environment (please complete the following information):
Anything that will help us triage the bug will help. Here are some ideas:
- OS: OSX, Debian buster
- Version Terraform v1.0.1
bberzinskas-tw, rarecrumb and dock-kdobroliubov
Metadata
Metadata
Assignees
Labels
bug🐛 An issue with the system🐛 An issue with the system