telia-oss / terraform-modules

Terraform modules that have not been published to the registry.
MIT License
3 stars 6 forks source link

[terraform 0.12] Cloudwatch-s3-forwarder split variable #20

Open tiborv opened 5 years ago

tiborv commented 5 years ago

It seems that the default value for split doesn't fit with the related ternary. I.e. if split is true (or "true") the ternary becomes false, as it expects 1.

Thus, even if you explicitly pass split=true to the module, it still becomes false in the resulting state.

NOTE: This is with terraform 0.12-rc1

tiborv commented 5 years ago

Seems to be related to terraform 0.12 as the docs for 0.11 have an explanation for this