Difference between revisions of "Warning: Redundant ignore changes element"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
  │
 
  │
 
  │  on ../../modules/db_instance/main.tf line 26, in resource "[[aws_db_instance]]" "this":
 
  │  on ../../modules/db_instance/main.tf line 26, in resource "[[aws_db_instance]]" "this":
  │  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
Line 13: Line 13:
 
  │
 
  │
 
  │ (and 2 more similar warnings elsewhere)
 
  │ (and 2 more similar warnings elsewhere)
 +
 +
 +
 +
│ Warning: Redundant ignore_changes element
 +
 +
│  on [[main.tf]] line 298, in resource "aws_eks_addon" "this":
 +
│  298: resource "aws_eks_addon" "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 modified_at 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.
 +
  
 
== Related ==
 
== Related ==

Latest revision as of 16:23, 8 September 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)


╷
│ Warning: Redundant ignore_changes element
│ 
│   on main.tf line 298, in resource "aws_eks_addon" "this":
│  298: resource "aws_eks_addon" "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 modified_at 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.
╵

Related[edit]

See also[edit]

Advertising: