What's the best practice to version control Glue job script with Terraform?

Viewed 793

I'm using Terraform to create & manage my Glue job, and as we know we need to store the job script in an S3 bucket and point the location to the job, just wondering how I can version control those script?

Basically I have those script stored in git and keep making changes to it, I can't figure out a way to version control it except something quite manual, like we give the script name with xx_v1.py and point it to Glue job, then if we want to update it, we give it a name xx_v2.py and point the new name to our Glue job, not ideal, any thoughts will be appreciated.

0 Answers
Related