Giter VIP home page Giter VIP logo

Comments (6)

danisla avatar danisla commented on June 1, 2024 1

Have a look at the guide in the README.md for the example, it walks through setting up the KMS keyring for the example:

https://github.com/GoogleCloudPlatform/terraform-google-vault/blob/master/examples/vault-on-gce/README.md

from terraform-google-vault.

danisla avatar danisla commented on June 1, 2024

@tazy7 are you running terraform from the module directory or from the example-vault-on-gce directory from the examples repository?

Try following the example here and set these vars before running terraform:

export TF_VAR_region=europe-west2
export TF_VAR_zone=europe-west2-a

from terraform-google-vault.

tazy7 avatar tazy7 commented on June 1, 2024

@danisla Thanks for coming back to me. I'm running terraform from the root of the terraform-google-vault repo. Tried the export variables and still getting the same issue.

from terraform-google-vault.

danisla avatar danisla commented on June 1, 2024

@tazy7 don't run it from the root of terraform-google-vault repo and instead, run it from the example directory.

from terraform-google-vault.

tazy7 avatar tazy7 commented on June 1, 2024

I had forgotten to recreate the tfvars file. With running from the correct directory and with the export variables I am now getting the following errors:

3 error(s) occurred:

  • module.vault.google_storage_bucket_object.vault-ca-cert: 1 error(s) occurred:

  • google_storage_bucket_object.vault-ca-cert: Error, either "content" or "string" must be specified

  • module.vault.google_storage_bucket_object.vault-tls-key: 1 error(s) occurred:

  • google_storage_bucket_object.vault-tls-key: Error, either "content" or "string" must be specified

  • module.vault.google_storage_bucket_object.vault-tls-cert: 1 error(s) occurred:

  • google_storage_bucket_object.vault-tls-cert: Error, either "content" or "string" must be specified

from terraform-google-vault.

tazy7 avatar tazy7 commented on June 1, 2024

There was an issue with the keyring I was trying to reuse

from terraform-google-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.