Coder Social home page Coder Social logo

Chicken and Egg about terraform-provider-kafka HOT 3 CLOSED

mongey avatar mongey commented on August 20, 2024
Chicken and Egg

from terraform-provider-kafka.

Comments (3)

Mongey avatar Mongey commented on August 20, 2024

👋 @paulca99 I don't believe this is an issue with this particular provider; and is more of a terraform question.
When destroying the cluster, doing a terraform destroy should remove the topics, then destroy the ec2 instances. If you are rotating the instances outside of terraform, doing a terraform refresh once the new cluster is up, should be enough to get terraform to notice that the topics don't exist on the new kafka cluster; and a subsequent plan and apply should work.

from terraform-provider-kafka.

paulca99 avatar paulca99 commented on August 20, 2024

I can't do a terraform destroy as there's a load of other resources in the same env that I don't want to destroy. TBH I've just had 2 weeks off work and it's a bit fuzzy in my head, I'll try the refresh route on Monday when I go back in, but I think once the EC2 instances had been destroyed outside terraform , and the provider couldn't create a connection to kafka I was snookered because I couldn't re-create the cluster with a terraform apply... but I never tried the refresh, so I'll try that first...ta.

from terraform-provider-kafka.

Mongey avatar Mongey commented on August 20, 2024

Going to close this out as there's not much I can fix here 😄

from terraform-provider-kafka.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.