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

Feature: ignore changes on current_version #34

Closed
anden-dev opened this issue Aug 8, 2024 · 2 comments
Closed

Feature: ignore changes on current_version #34

anden-dev opened this issue Aug 8, 2024 · 2 comments

Comments

@anden-dev
Copy link
Contributor

When a cluster gets a security update the current_version changes.

AWS calls that: Kafka security patching event

After being serviced by aws a terraform plan looks like this

Terraform detected the following changes made outside of Terraform since the
last "terraform apply" which may have affected this plan:

  # aws_msk_cluster.default["enabled"] has changed
  ~ resource "aws_msk_cluster" "default" {
      ~ current_version              = "K3FE7AD5N5R11" -> "KKEVKO7DR4RA"
[...]

Ignoring it should work, which is nice when you monitor state changes

 lifecycle {
    ignore_changes = [current_version]
  }
@bryantbiggs
Copy link
Member

see #35 (comment)

Copy link

github-actions bot commented Sep 8, 2024

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants