Comments (11)
Thanks for opening this!
Just so I can understand bet, where are you adding the extra_atlantis_dependencies
local values? In your parent files, or in your leaf nodes?
As a note, terragrunt local
values do not transfer between parents and child modules
from terragrunt-atlantis-config.
defining the extra_... in the parent terragrunt. This is not something we want to have to add for 100s of leaf terragrunt.hcl files.
from terragrunt-atlantis-config.
Sure, I can take this as a feature request to pass down the extra_atlantis_dependencies
from a parent to all children, merging in values.
Then as far as you question about generating projects for the parent terragrunt.hcl
files, you can use the --ignore-parent-terragrunt
flag so that files without a terraform
block with a source
attribute do not have projects made for them in your atlantis.yaml
output
from terragrunt-atlantis-config.
Great please let me know if you need assistance with testing.
Also I have noticed it doesn't seem to capture files referenced by extra arguments and varfiles. Unless .tf captures files from other directories, but I don't believe this is the case.
from terragrunt-atlantis-config.
That is also a great point! I haven't used extra_argument files, so I missed that feature, but that should be quite easy to add.
I'll see if I can get to a few of these open issues today or this weekend 😄
from terragrunt-atlantis-config.
Linking issue: #60
from terragrunt-atlantis-config.
Release v0.9.1 is out now, which enables merging in extra_atlantis_dependencies
from parents to children.
I started using this feature in my company's monorepo already, and it seems to work / be a useful improvement, so thank you for the suggestion! Please let me know if you have any issues using the new features.
As an example, here is what I have in one of my top level parent modules:
locals {
extra_atlantis_dependencies = [
abspath("common.tf"),
abspath("terragrunt-config-prod.hcl")
]
}
from terragrunt-atlantis-config.
from terragrunt-atlantis-config.
Was that really released?
Just checked v0.9.0...v0.9.1 - nothing related.
Asking because hitting same issue with the latest (v1.12.3) version.
from terragrunt-atlantis-config.
from terragrunt-atlantis-config.
Ya caught me in an embarrassing moment, release v0.9.1 was just because I forgot to bump the version properly in v0.9.0. So the actual changelog to check is from v0.8.0 to v0.9.1: v0.8.0...v0.9.1 which includes this PR: #61.
It's certainly possible that there's still a bug here @awasilyev, so feel free to open a new issue if you'd like. The currently tested feature is that if both a parent and a child have extra_atlantis_dependencies
that the two lists will merge.
The test here: https://github.com/transcend-io/terragrunt-atlantis-config/blob/master/cmd/generate_test.go#L237-L242 is an assertion that this output file: https://github.com/transcend-io/terragrunt-atlantis-config/blob/master/cmd/golden/mergeParentDependencies.yaml is generated from this project directory: https://github.com/transcend-io/terragrunt-atlantis-config/tree/master/test_examples/parent_with_extra_deps
If you notice an edge case in your project that's different from that test, or believe that the test may be wonky and does not cover what you need, I would love to work on that in a new issue 😄
from terragrunt-atlantis-config.
Related Issues (20)
- Guidelines for multi-environment setup? HOT 2
- Support .terraform-version files (as tfenv) HOT 1
- example of atlantis config output HOT 2
- Is the project abandoned? HOT 14
- Is there is any command in atlantis which will be equivalent to terragrunt destroy? HOT 1
- `run_cmd` fail with options as first arg
- Grace handle of `/dev/null` when destroying modules HOT 2
- Support generating new depends_on key HOT 2
- tests fail when run in VSCode in Windows
- tristan-weil/ghaction-checksum-sign-artifact no longer exists HOT 1
- Invalid Release Checksum Format HOT 6
- Docker images are not published HOT 11
- Evaluating local relative paths
- bug: execution_order_group does not print 0 values when active HOT 4
- bug: execution_order_group does not work with a folder without *.hcl files in the file structure
- Generic artifact names in release archives
- broken release HOT 1
- execute atlantis operations using group tags on projects HOT 1
- Preserve allowed_regexp_prefixes repo level key
- README: Installation process HOT 3
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-atlantis-config.