PRO: Filter for Versions

PRO: Filter for Versions #

All features described on this page are part of the Professional Edition.

You can purchase licenses for the Professional Edition on the Portal: https://portal.sqldsc.com.

Filter for Versions #

Starting with 1.40.1, Resource Blocks support a for_versions attribute that allows resources to only apply to specific versions. That looks like this:

resource "configuration" "cost_threshold" {
	name = "cost threshold for parallelism"
	value = 50
	for_versions = ["2016", "2017", "2019"]
}

This configuration setting will only be applied if the target is one of the three listed versions.