Comments (8)
Hi @gregwebs!
In our blog post introducing terragrunt, under the section Why not just submit Pull Requests to Terraform?, we give the specific reasons why we wrote a separate tool versus submitting a few Pull Requests to update Terraform directly. But we also clarify that while our short-term goal with Terragrunt is to get community feedback and empower our own clients, our ultimate goal is to see this functionality implemented directly in Terraform.
from terragrunt.
It sounds like you are saying the way you want to achieve this is by merging the code into terraform. I have a feeling that may be a long way out from happening right now, but I am definitely supportive of that. I may take a stab at trying to create a data source that does locking when I get a little more concerned about locking.
from terragrunt.
Some of the Terragrunt features are also features of Terraform Enterprise,
locking in particular. Thus you may find some opposition to getting them
included in Terraform.
from terragrunt.
As an alternative lower-tech approach, how about letting terragrunt learn the location of my terraform binary from a terragrunt-specific environment variable? That way I don't have to put terraform on my PATH, which means if I accidentally type terraform instead of terragrunt it won't do anything.
from terragrunt.
@dmrzzz That's a great idea. It could be done via a command-line flag, env var, or a setting in .terragrunt
:
terraform = {
path = "/foo/bar/terraform"
}
I'd happily accept a PR for that!
from terragrunt.
PR submitted (hopefully)! This is my first-ever Go code and my first-ever github pull request, so I apologize for any newbie mistakes.
I chose env var / command-line flag as opposed to a .terragrunt setting because the value is specific to your local workstation and shouldn't be checked into source control.
from terragrunt.
@dmrzzz PR worked just fine. Nice work and thank you for contributing :)
I chose env var / command-line flag as opposed to a .terragrunt setting because the value is specific to your local workstation and shouldn't be checked into source control.
Ah, yea, you're right.
from terragrunt.
#76 Allows you to specify the path to Terraform via an env var or command-line option.
from terragrunt.
Related Issues (20)
- Flaky TestTableTagging HOT 1
- Using provider caching with existing `.terraformrc` having `provider_installation` block defined. HOT 11
- Parallel terragrunt runs with provider cache conflict and fail HOT 2
- Unable to use Terraform modules stored in a private S3 bucket HOT 1
- 1Password CLI integration HOT 2
- Authentication Provider Command Does Not Work With Dependencies HOT 2
- Add a way to supply credentials for a third-party registry when using Terragrunt Provider Cache HOT 9
- Moving to `main` on 2024/09/03
- Terragrunt provider cache does not support relative URLs in GetPlatform HOT 1
- IMDSv1 errors when running terragrunt render-json in an EC2 environment without valid credentials HOT 3
- read_terragrunt_config not evaluating dependency blocks HOT 7
- Regression: Empty list [] as input to a nested list of objects is interpreted as null HOT 3
- Stacks HOT 9
- Bump OpenTofu Support to `v1.8.0`
- Terragrunt can't find outputs in dependency HOT 10
- Question about provider using locals when the local value is from SSM HOT 1
- Terragrunt run does not create local file in mac OS HOT 5
- Investigate: Avoid Starting Provider Cache Server When it Doesn't Help
- Moving Beyond Terraform 1.5.x HOT 5
- Question: How to use Terragrunt in CI/CD? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terragrunt.