Replies: 2 comments 3 replies
-
The more I think about it, the more I think this move would definitely be worth it. We've had at least 2 if not 3 instances of someone editing the produced file and it not being caught in review (because GitHub doesn't automatically show the headers in diffs). I'm also frequently frustrated with how Terraform handles the generation of local files when working on multiple pieces of the infrastructure at once; there end up being no-op applies which muddy other plans because local files have changed across branches. If we wanted to have this templated in the main repo, we'd need to define the following (per the definition):
Many of the latter attributes we already have defined in the CI/CD workflow because they're published there. I'm really interested to hear what you might think @sarayourfriend 🙂 |
Beta Was this translation helpful? Give feedback.
-
Closing this discussion now with the solution agreed upon recorded in https://github.com/WordPress/openverse-infrastructure/issues/462 |
Beta Was this translation helpful? Give feedback.
-
Currently both the template for the ECS deployment workflows and the code to compile it to 4 output YAML files are in the
WordPress/openverse-infrastructure
repository. This has the following main drawbacks:These problems go away if we move the template here and use this repos' automation tools to compile the template (like we do for pre-commit and Prettier configs).
Beta Was this translation helpful? Give feedback.
All reactions