Skip to content

0.7.2

Compare
Choose a tag to compare
@aknysh aknysh released this 11 Jun 19:20

what

  • Remove map from the tags

why

  • maps in dynamically calculated counts introduce circular dependencies across TF modules

references

hashicorp/terraform#13980
hashicorp/terraform#10857
hashicorp/terraform#12570
hashicorp/terraform#17048

I know this issue has been discussed time and again (Ex: #12570) and that if a module has a map variable and has interpolation inside this map variable, count inside a module results in value of ‘count’ cannot be computed. What puzzles me is that this error occurs when terraforming a new environment but not any existing environment!