mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-02 12:17:39 -06:00
4fa8c16ead
The initial pass of implementation here missed the special case where ignore_changes can, in the old parser, be set to ["*"] to ignore changes to all attributes. Since that syntax is awkward and non-obvious, our new decoder will instead expect ignore_changes = all, using HCL2's capability to interpret an expression as a literal keyword. For compatibility with old configurations we will still accept the ["*"] form but emit a deprecation warning to encourage moving to the new form.
12 lines
142 B
JSON
12 lines
142 B
JSON
{
|
|
"resource": {
|
|
"aws_instance": {
|
|
"web": {
|
|
"lifecycle": {
|
|
"ignore_changes": ["*"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|