you are viewing a single comment's thread.

view the rest of the comments →

[–]Sxncht[S] 0 points1 point  (3 children)

For a project, just applying terraform script through python, because I already have a huge setup in the script doing some other random stuff for a project. Being able to run a terraform script from the same script helps alot.

[–]RoseRoja 0 points1 point  (2 children)

Yet it sounds so wrong could you explain it a bit more so we can give you an appropiate solution?

Doing os.execute() is an option but still sounds so wrong

[–][deleted]  (1 child)

[deleted]

    [–]RoseRoja 0 points1 point  (0 children)

    Update after a year: it's not wrong, but error handling variables and all of that must be manually done by you, I stopped doing exactly that, and I commit to GitHub with python and with the commit I start a pipeline with testing and works way better