Skip to content

Add Enabled Flag

Compare
Choose a tag to compare
@osterman osterman released this 30 Oct 17:47

what

Add enabled variable which can be used to disable any resources within the module

why

If you have resources that are conditionally created and they refer to this module, your plan will always show null-label resources in the plan. As Terraform does not support conditionally including a module, this is the recommend solution

See hashicorp/terraform#12906