configs/configupgrade: Correct ignore_changes error message
Due to a copy-paste error, this was using the message from the providers map in a "module" block. This new message is not particularly helpful, but we should only see it for a configuration that wouldn't have been valid in 0.11 either, and so it's unlikely to be displayed.
This commit is contained in:
parent
0095a944cd
commit
cdca8fbfe8
|
@ -514,8 +514,8 @@ func lifecycleBlockBodyRules(filename string, an *analysis) bodyContentRules {
|
|||
if !ok {
|
||||
diags = diags.Append(&hcl2.Diagnostic{
|
||||
Severity: hcl2.DiagError,
|
||||
Summary: "Invalid providers argument",
|
||||
Detail: `The "providers" argument must be a map from provider addresses in the child module to corresponding provider addresses in this module.`,
|
||||
Summary: "Invalid ignore_changes argument",
|
||||
Detail: `The "ignore_changes" argument must be a list of attribute expressions relative to this resource.`,
|
||||
Subject: hcl1PosRange(filename, item.Keys[0].Pos()).Ptr(),
|
||||
})
|
||||
return diags
|
||||
|
|
Loading…
Reference in New Issue