'Is there a way to break down terraform(or atlantis) output to different sections?
My team use terraform and atlantis to manage the infrastructure. We have created a repo that contains all projects' infra.
When starting a new microservice, we usually do it in this way.
Draft the infra in terraform git repo.
The infra contains:
Backend
- RDS
- Memcached
- Redis
- EC2
Frontend
- S3 bucket to host the static website.
- CloudFront
Then, create a pull request in github and let Atlantis run
atlantis apply
.Then, Atlantis displays the output in the PR.
Then, I copy different parts of
terraform output
to the backend team and frontend team.
Question
Does terraform output support category or section?
Or, is there an easier way to manipulate the output of atlantis and send different sections to different teams?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|