You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
terraform: Add support for Terraform v1.2 syntax (#1403)
* Bump Terraform version to v1.2.1
* Fix build error due to remove DefaultVariableValues
terraform.DefaultVariableValues is removed in this commit:
hashicorp/terraform@36c4d4c
This removes the redundant code, but the implementation itself is not wrong,
so move it to the tflint package.
Detail: "The condition expression must refer to at least one object from elsewhere in the configuration, or else its result would not be checking anything.",
Detail: fmt.Sprintf("Failed to parse module registry address: %s.\n\nTerraform assumed that you intended a module registry source address because you also set the argument \"version\", which applies only to registry modules.", err),
118
+
Subject: mc.SourceAddrRange.Ptr(),
119
+
})
120
+
} else {
121
+
diags=append(diags, &hcl.Diagnostic{
122
+
Severity: hcl.DiagError,
123
+
Summary: "Invalid module source address",
124
+
Detail: fmt.Sprintf("Failed to parse module source address: %s.", err),
125
+
Subject: mc.SourceAddrRange.Ptr(),
126
+
})
127
+
}
96
128
}
97
129
}
98
130
}
99
-
// NOTE: We leave mc.SourceAddr as nil for any situation where the
100
-
// source attribute is invalid, so any code which tries to carefully
101
-
// use the partial result of a failed config decode must be
0 commit comments