akamai-consulting / akamai-starterkit

MIT License
4 stars 0 forks source link

Attempting to solve terraform state issues by ignoring property versi… #32

Closed aweingarten closed 3 months ago

aweingarten commented 3 months ago

This is a not as horrible workaround for the problem described here: https://github.com/akamai/terraform-provider-akamai/issues/560

aweingarten commented 3 months ago

This approach ended in failure:

╷
│ Warning: Redundant ignore_changes element
│ 
│   on property.tf line 1, in resource "akamai_property" "my-property":
│    1: resource "akamai_property" "my-property" {
│ 
│ Adding an attribute name to ignore_changes tells OpenTofu to ignore future
│ changes to the argument in configuration after the object has been created,
│ retaining the value originally configured.
│ 
│ The attribute staging_version 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 one more similar warning elsewhere)
╵