GithubHelp home page GithubHelp logo

hartl3y94 / terraform-provider-packer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from toowoxx/terraform-provider-packer

1.0 0.0 0.0 335 KB

Terraform Provider for HashiCorp Packer

License: Mozilla Public License 2.0

Go 100.00%

terraform-provider-packer's Introduction

Terraform Packer Provider

FOSSA Status

A provider for HashiCorp Packer that has Packer embedded in it so that you can run it on any environment (including Terraform Cloud).

Documentation

You can find documentation in the Terraform Registry.

The main resource of this provider is packer_image which builds the image using packer.

Examples

Examples can be found in the examples subdirectory.

Gotchas

Image management

Packer does not manage your images โ€“ which means that neither does this provider. This provider will not detect whether the image exists on the remote because that's not something that Packer can do.

Terraform providers are only a means of plugging an API or an external system into Terraform which is what this provider is doing. Regardless, we still reserve the possibility that we may add support for managing images independently of Packer itself.

You have multiple options for managing your images:

  • Import state of the created image after successful deployment
  • Manually manage images, for example, by deleting them from your cloud provider or system (for example, you can delete images manually from Azure using the Azure Portal)

You can use the force attribute of resource packer_image to overwrite the image every time.

The remote state does not affect this provider's ability to function. If you delete an image remotely, Packer will still run and attempt to create a new one which should succeed. There is no fundamental difference between "Creation" and "Update" of a packer_image resource.

License

Mozilla Public License v2.0

FOSSA Status

terraform-provider-packer's People

Contributors

fossabot avatar simaotwx avatar xdevs23 avatar

Stargazers

 avatar

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.