Error: Invalid count argument
--
801 |
802 | on .terraform/modules/infrastructure.cloud-key-rotator/main.tf line 81, in resource "aws_secretsmanager_secret_version" "ckr-config-string":
803 | 81: count = var.config_data != "" ? 1 : 0
804 |
805 | The "count" value depends on resource attributes that cannot be determined
806 | until apply, so Terraform cannot predict how many instances will be created.
807 | To work around this, use the -target argument to first apply only the
808 | resources that the count depends on.