- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
Running terraform plan results in two Invalid index errors as a result of setting enable_management_groups=false in parameters.tfvars
Any log messages given by the failure
Expected/desired behavior
OS and Version?
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Versions
Mention any other details that might be useful
The fix is straight forward. We can use length() to check for elements and otherwise return null.
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Running
terraform plan
results in two Invalid index errors as a result of settingenable_management_groups=false
inparameters.tfvars
Any log messages given by the failure
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful
The fix is straight forward. We can use
length()
to check for elements and otherwise return null.