Giter Site home page Giter Site logo

archive_file data source gets created during "terraform plan" vs "terraform apply" and also is not deleted during destroy about terraform-provider-archive HOT 10 OPEN

 avatar commented on June 29, 2024 3
archive_file data source gets created during "terraform plan" vs "terraform apply" and also is not deleted during destroy

from terraform-provider-archive.

Comments (10)

Console32 avatar Console32 commented on June 29, 2024 5

Can you remove the deprecation note? The datasource is no replacement for the archive_file resource.

from terraform-provider-archive.

bendbennett avatar bendbennett commented on June 29, 2024

Hi @jeffscottlevine 👋

It sounds like you might need to use the archive_file resource rather than the data source in this instance. Could you try using the resource and see if that behaves in the way that you are expecting?

from terraform-provider-archive.

 avatar commented on June 29, 2024

Hi @jeffscottlevine 👋

It sounds like you might need to use the archive_file resource rather than the data source in this instance. Could you try using the resource and see if that behaves in the way that you are expecting?

According to this page, the archive_file resource is deprecated and that we should use the data source.

from terraform-provider-archive.

bendbennett avatar bendbennett commented on June 29, 2024

Although the archive_file resource is marked as deprecated, there are currently no plans to remove it.

from terraform-provider-archive.

robertbrandso avatar robertbrandso commented on June 29, 2024

I very much agree with @Console32, the data source is no replacement for the archive_file resource.

One use case is when I need something to happen before the zip is created. When the zip is created during plan this is rather difficult to do.

from terraform-provider-archive.

raphael-ratepay avatar raphael-ratepay commented on June 29, 2024

@bendbennett would it be possible to remove the deprecation note?

from terraform-provider-archive.

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.