You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Invalid count argument
on main.tf line 11, in resource "null_resource" "test":
11: count = length(data.dns_aaaa_record_set.server-ipv6.addrs)
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.
Steps to Reproduce
terraform init terraform plan
Additional Context
It used to work under Terraform v0.12.0.
This comment also conveys the idea it should work.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked and limited conversation to collaborators
Jul 25, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm so sorry. This is working correctly. I didn't do all the correct tests before creating the issue. Please disregard it.
Terraform Version
Terraform Configuration Files
Expected Behavior
terraform plan should run successfully.
Actual Behavior
Steps to Reproduce
terraform init
terraform plan
Additional Context
It used to work under Terraform v0.12.0.
This comment also conveys the idea it should work.
Even using locals fails:
Is this a regression or is it the intended behavior?
The text was updated successfully, but these errors were encountered: