GithubHelp home page GithubHelp logo

Comments (2)

castrapel avatar castrapel commented on May 31, 2024

By default, IAMbic will capture the state of all IAM, but doesn't need to manage all of it. Based on our conversation, I think you'd like to instruct IAMbic to ignore certain resources. Would the solution specified in #421 work for your use case?

Based on our conversation, I also heard from you that when we see a PR with a removed file, we should take the opportunity to instruct users (via GH comment) about the proper way to either 1) Remove, or 2) Ignore different resources.

from iambic.

smoy avatar smoy commented on May 31, 2024

ok, I can confirm I replicate this with latest version.

https://github.com/noqdev/iambic-templates-itest/pull/299 (internal repo), so not publicly visible.

This is related to the git usage of iambic. When it retrieves list of changes, it see a modified file that is categorized as rename. (I copy template_1 as template_2, change the id inside template_2. proceed to do git rm template_1 , git add template_2. git commit considers it as a rename. (shrugs).

iambic has business logic to create an in-memory file for the deleted contents. it attempts to check over during apply and then proceed to delete it. That logic is ok for actual template physically on the filesystem but not one that it creates in-memory.

from iambic.

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.