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

MSK - Bug when updating existing cluster configuration #15405

Open
throwaway8787 opened this issue Sep 30, 2020 · 11 comments
Open

MSK - Bug when updating existing cluster configuration #15405

throwaway8787 opened this issue Sep 30, 2020 · 11 comments
Labels
bug Addresses a defect in current functionality. service/kafka Issues and PRs that pertain to the kafka service.

Comments

@throwaway8787
Copy link

When expanding the plan for module.msk.aws_msk_cluster.msk to include new
values learned so far during apply, provider
"registry.terraform.io/hashicorp/aws" produced an invalid new value for
.configuration_info[0].revision: was cty.NumberIntVal(2), but now
cty.NumberIntVal(3).
resource "aws_msk_configuration" "config" {
  name           = "${var.name}-${var.environment}"
  kafka_versions = [var.kafka_version]

  server_properties = <<CONFIG
num.partitions = 100
auto.create.topics.enable = true
delete.topic.enable = true
log.cleanup.policy = delete
message.max.bytes = 1048588
default.replication.factor = 3
log.retention.hours = 720
log.retention.bytes = 107374187500
CONFIG
}
@ghost ghost added the service/kafka Issues and PRs that pertain to the kafka service. label Sep 30, 2020
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Sep 30, 2020
@gneveu
Copy link

gneveu commented Oct 8, 2020

We're also hitting this issue, this seems to happen when applying a plan where an aws_msk_configuration has already been created previously

@patjones
Copy link

patjones commented Oct 8, 2020

👍 We are also seeing this.

@dacreify
Copy link

As are we. I created this separate issue for the general updating issue: #15795

@ber-next
Copy link

For me the first attempt always fail. But usually the second or the third attempts are successful.

@dlp1154
Copy link

dlp1154 commented Feb 18, 2021

We are also observing the same issue

@AlbertoPeon
Copy link

we can also reproduce it

@HackerTheMonkey
Copy link

Same here, using Terraform ~>0.14.0 and AWS Provider version ~>3.0. Though it seems that the 2nd attempt is fine.

@breathingdust breathingdust added bug Addresses a defect in current functionality. and removed needs-triage Waiting for first response or review from a maintainer. labels Sep 16, 2021
@aidan-melen
Copy link

Same here, using Terraform ~>0.14.0 and AWS Provider version ~>3.0. Though it seems that the 2nd attempt is fine.

We also saw that a 2nd attempt ran without errors.

@rogermbr
Copy link

Hey folks, here, using Terraform ~>1.4.0 and AWS Provider version ~>4.58.0 have same problem with first attempt to change msk configuration, any subsequent attempt finished in successfully state.

@guidorugo
Copy link

Terraform v1.5.5 and AWS Provider version 5.5.0 still with this issue.

@twcurrie
Copy link

Terraform v1.6.6 and AWS Provider version 5.46.0 and still has this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Addresses a defect in current functionality. service/kafka Issues and PRs that pertain to the kafka service.
Projects
None yet
Development

No branches or pull requests