Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ibm_container_addons resource not detecting version change #2295

Closed
evpirnia opened this issue Mar 1, 2021 · 2 comments
Closed

ibm_container_addons resource not detecting version change #2295

evpirnia opened this issue Mar 1, 2021 · 2 comments

Comments

@evpirnia
Copy link

evpirnia commented Mar 1, 2021

Terraform Version

v0.12.20

Affected Resource(s)

  • ibm_container_addons

Terraform Configuration Files

##############################################################################
# Variables
##############################################################################
variable resource_group {}
variable cluster_id {}
variable istio_addon_version {}
##############################################################################
# Enable managed istio addon
##############################################################################
resource ibm_container_addons istio {
  cluster           = var.cluster_id
  resource_group_id = var.resource_group

  addons {
    name    = "istio"
    version = var.istio_addon_version
  }

  addons {
    name = "kube-terminal"
  }
}

Debug Output

See slack thread in references.

Panic Output

None

Expected Behavior

When the value for var.istio_addon_version is changed from "1.7" to "1.8", I expect the change to be reflected in the output of terraform plan.

Actual Behavior

The resource does not appear in the output of terraform plan. No changes are detected.

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. Set var.istio_addon_version to have a value of '1.7'
  2. terraform plan && terraform apply
  3. Set var.istio_addon_version to have a value of '1.8'
  4. terraform plan -> no changes detected, why?

Important Factoids

Testing on a VPC Gen 2 cluster in IBM Cloud.

References

For more information, here is the slack thread that identified the issue: https://ibm-cloudplatform.slack.com/archives/C53NF5MB4/p1614305528113800

@kavya498
Copy link
Collaborator

kavya498 commented Mar 4, 2021

@evpirnia, Can we close this?

@evpirnia
Copy link
Author

evpirnia commented Mar 8, 2021

Yes, thank you @kavya498!

@evpirnia evpirnia closed this as completed Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants