Difference between revisions of "Warning: Redundant ignore changes element"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
│ 26: resource "aws_db_instance" "this" { | │ 26: resource "aws_db_instance" "this" { | ||
│ | │ | ||
− | │ Adding an attribute name to ignore_changes tells Terraform to ignore future changes to the argument in configuration after the object has | + | │ Adding an attribute name to [[ignore_changes]] tells Terraform to ignore future changes to the argument in configuration after the object has |
│ been created, retaining the value originally configured. | │ been created, retaining the value originally configured. | ||
│ | │ |
Revision as of 22:36, 5 June 2022
╷ │ Warning: Redundant ignore_changes element │ │ on ../../modules/db_instance/main.tf line 26, in resource "aws_db_instance" "this": │ 26: resource "aws_db_instance" "this" { │ │ Adding an attribute name to ignore_changes tells Terraform to ignore future changes to the argument in configuration after the object has │ been created, retaining the value originally configured. │ │ The attribute latest_restorable_time is decided by the provider alone and therefore there can be no configured value to compare with. │ Including this attribute in ignore_changes has no effect. Remove the attribute from ignore_changes to quiet this warning. │ │ (and 2 more similar warnings elsewhere)
Related
See also
Advertising: