PRO: Filter for Versions #
All features described on this page are part of the Professional Edition.
While in beta, you can enable the Professional Edition by creating an account and downloading a license from https://portal.sqldsc.com.
The PRO edition will become a paid version. Until then, PRO features expire 60 days after the build date. Please see https://www.scalesql.com for updated builds or run
sqldsc update
.
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.