Comments (5)
Thanks for opening this issue!
The generated output supports custom workflows already, so I'm unsure what the defining characteristics would be for workflows that should be kept vs removed from the existing file.
Could you provide an example atlantis.yaml
where you believe some workflows should be preserved? And in your example, how would this tool recognize that certain workflows should be kept?
I guess in general, it would be very easy for this tool to preserve existing fields, I'm just not sure why or how it would choose to save certain pre-existing data
from terragrunt-atlantis-config.
lets say i have defined an atlantis.yaml in my repo with the following content
version: 3
projects:
- dir: project1/acm
workflow: terragrunt
- dir: project1/ecr
workflow: terragrunt
- dir: project1/ecs
workflow: terragrunt
- dir: project1/vpc
workflow: terragrunt
workflows:
terragrunt:
plan:
steps:
- run: terragrunt plan -no-color -out $PLANFILE
apply:
steps:
- run: terragrunt apply -no-color $PLANFILE
then i run a command to generate the config..
terragrunt-atlantis-config generate --ignore-parent-terragrunt --output ./atlantis.yaml --workflow terragrunt --create-project-name
the newly generated configuration will not include the custom workflows designated in the original file..
parallel_apply: true
parallel_plan: true
projects:
- autoplan:
enabled: false
when_modified:
- '*.hcl'
- '*.tf*'
dir: project1/acm/
name: project1_acm
workflow: terragrunt
- autoplan:
enabled: false
when_modified:
- '*.hcl'
- '*.tf*'
dir: project1/ecr/
name: project1_ecr
workflow: terragrunt
- autoplan:
enabled: false
when_modified:
- '*.hcl'
- '*.tf*'
dir: project1/ecs/
name: project1_ecs
workflow: terragrunt
- autoplan:
enabled: false
when_modified:
- '*.hcl'
- '*.tf*'
dir: project1/vpc
name: project1_vpc
workflow: terragrunt
version: 3
i am looking for some option flag(s) to allow me to define and recreate the workflows definitions or alternately have the existing workflows persisted into the regenerated document...
from terragrunt-atlantis-config.
Ah, I forgot workflows can be defined client side, as I define them server side.
I can make this change, thanks for the idea!
from terragrunt-atlantis-config.
Release v0.10.0 should work for you 😄
https://github.com/transcend-io/terragrunt-atlantis-config/releases/tag/v0.10.0
from terragrunt-atlantis-config.
awesome, thank you
from terragrunt-atlantis-config.
Related Issues (20)
- Is this project still active? HOT 1
- 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
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.