Giter Club home page Giter Club logo

Comments (3)

Etiene avatar Etiene commented on September 14, 2024

Or am I supposed to copy main.tf, variables.tf and outputs.tf locally and create my own module based on the submodules you provide in the modules/ directory?

Yes. The module you want to use is in fact the vault-cluster module located at /modules. The main.tf at this root dir is just one example on how to use it. There are other examples located at /examples

from terraform-aws-vault.

cytopia avatar cytopia commented on September 14, 2024

@Etiene thanks for clarifying, I eventually also assumed by going through all issues and pr's and found this comment: #26 (comment)

The code in the modules folder is production-ready. The code in the examples folder, and the root—which is also an example—is not necessarily production ready.

However, to somebody who just discovered this repository it is very unclear how it should be used.

Additionally if you visit the Terraform module registry page for this module, the example that comes up at the top right indicates that the files in the root of this repository are actually defining the module (which also adds to the confusion): https://registry.terraform.io/modules/hashicorp/vault/aws/0.10.3

screenshot 2018-10-16 17-19-46 selection


I will then proceed with defining my custom vault project based on /modules/vault_cluster.

from terraform-aws-vault.

Etiene avatar Etiene commented on September 14, 2024

Yes, I understand. Unfortunately the terraform registry requires .tf files in the root. For simple repos, those files are the module, for bigger repos, those are examples and it isn't clear from the registry. There's probably a way to improve this, since it seems this confusion is common! I'll see what we can do to make it clearer in this repo!

from terraform-aws-vault.

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.