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

if zone creation becomes optional, document count caveat #6

Open
stavxyz opened this issue Jul 7, 2018 · 0 comments
Open

if zone creation becomes optional, document count caveat #6

stavxyz opened this issue Jul 7, 2018 · 0 comments

Comments

@stavxyz
Copy link
Owner

stavxyz commented Jul 7, 2018

If the variables referenced in an interpolation which is to be the value of count, then terraform must know the values of those variables/attributes ahead of time.

In the case tf can't know the values involved with computing the count, the user will see:

Error: Error refreshing state: 1 error(s) occurred:

* module.mailer.aws_route53_zone.this: aws_route53_zone.this: value of 'count' cannot be computed

N.B module version which encounters this error yet to be published (currently in development on my laptop)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant