Closed shemau closed 3 months ago
@hkantare can this be assigned? It is a regression in a deprecated attribute. The work around of ignoring it is not clean, in so much as it generates messages with all providers stating the attribute is deprecated and remove it. MTIA.
The following warnings are reported when ignoring the attribute:
╷
│ Warning: Redundant ignore_changes element
│
│ on ../../main.tf line 55, in resource "ibm_database" "etcd_db":
│ 55: resource "ibm_database" "etcd_db" {
│
│ 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 connectionstrings 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.
╵
╷
│ Warning: Deprecated attribute
│
│ on ../../main.tf line 173, in resource "ibm_database" "etcd_db":
│ 173: connectionstrings, # https://github.com/IBM-Cloud/terraform-provider-ibm/issues/5546
│
│ The attribute "connectionstrings" is deprecated. Refer to the provider
│ documentation for details.
╵
@alexhemard Can some one take look at the priority
@omaraibrahim Can some one look into this with priority
@shemau I was able to reproduce the issue you put above and I'm currently working on a fix.
Hi @shemau! A fix has been merged in the following PR: https://github.com/IBM-Cloud/terraform-provider-ibm/pull/5554
Fix looks good, can we close this issue now
Community Note
Terraform CLI and Terraform IBM Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
The basic example in https://github.com/terraform-ibm-modules/terraform-ibm-icd-elasticsearch is sufficient, with version set to 1.68.0.
Most or all terraform-ibm-icd-* repos appear to identify the issue during PR testing. This blocks all the associate PR pipelines.
Debug Output
Panic Output
Expected Behavior
The expect outcome of terraform apply following a successful and complete apply is for no changes to be present. This behaviour was experience upto an including 1.67.1 of the IBM provider for terraform
Actual Behavior
With IBM provider for terraform 1.68.0, a subsequent
apply
requests identify an update in placeSteps to Reproduce
terraform apply
terraform apply
terraform apply
Note: ALL subsequent attempts report the same delta, when selecting yes to apply in the previous attemptImportant Factoids
References
0000