GithubHelp home page GithubHelp logo

Comments (2)

lonelyCZ avatar lonelyCZ commented on August 29, 2024

I found it is not easy to share the modules. Because it will be generated terraform.tfstate in the folder of the module that will be occupied by one terragrunt workflow.

I test the dependency is shown below

dependency "cm-install" {
  config_path = "../../../modules/cm-install"

  skip_outputs = "true"
}
[root@master68 cm-vault]# terragrunt run-all apply -var-file=../common.tfvars
Module /root/lonelyCZ/testing-addons/workflows/cm-vault/cm-config depends on module /root/lonelyCZ/testing-addons/modules/cm-install, which is an external dependency outside of the current working directory. Should Terragrunt run this external dependency? Warning, if you say 'yes', Terragrunt will make changes in /root/lonelyCZ/testing-addons/modules/cm-install as well! (y/n) y

Meanwhile, the paramters are not passed by one file to workflows and modules.

╷
│ Error: Failed to read variables file
│
│ Given variables file ../common.tfvars does not exist.
╵
ERRO[0008] Module /root/lonelyCZ/testing-addons/modules/cm-install has finished with an error: 1 error occurred:
        * exit status 1
  prefix=[/root/lonelyCZ/testing-addons/modules/cm-install]

from testing-addons.

irbekrm avatar irbekrm commented on August 29, 2024

Thanks for investigating this issue @lonelyCZ I think the investigation will be useful for future work.

As we discussed on Slack, let's not work on the refactor now as we are prioritizing a workflow for cert-manager with ingress-shim and NGINX.

from testing-addons.

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.