Suggestion / discussion - make Sceptre project more modular #1061
lukeplausin
started this conversation in
General
Replies: 1 comment
-
Hey Luke - just wanted to check the env is 1.5 and not 2.5? I had started work on making the whole project much more modular before I finished at Cloudreach. I was tentatively calling this V3. I’ve not had much time to give to sceptre recently but the barebones for v3 are there. The V2 project is not tightly coupled to the cli. So you might have more luck with that? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Subject of the issue
There have been times where I would like to integrate Sceptre within an external workflow or process, but couldn't due to the fact that it's tightly coupled with its CLI interface.
For example, in my Python project I would like to be able to do something like this:
Unfortunately, Sceptre wasn't really designed with this in mind. When trying to hack Sceptre into other python projects, I've found that there are many assumptions made in the code about filesystem structures (config must be in
./config
, templates must be in./templates
, if the current working directory is not set to the project then the deployments will fail..).When integrating Sceptre deployments into larger projects, I've managed to get the job done by templating a shell command and dumping it into the Python
subprocess.call()
function, but the solution is not very elegant, doesn't perform well and is quite error prone.Your environment
Beta Was this translation helpful? Give feedback.
All reactions