Hey All - I’m pretty new to terraform. Been spending the last 4 months or so getting the basics down and I finally feel confident enough to put together a POC for Okta as my background is IAM.
I am starting with my applications and am planning on having a single repository labeled terraform-okta and two permanent branches (dev) - which will deploy to a sandbox and main which will deploy to prod.
within each branch will be the “apps” directory that will contain the directories of each module, and later I will add more directories for different module types.
I am wondering A. Does this sound like a reasonable way to have my Repository set up.
B. I am planning on using GitHub actions and I have found plenty of info on the CI pieces and running tests before merge, I’ve also found plenty of info on CD post workspace creation so I’m just going to copy people alot smarter than me.
What I’m really wondering is what is the best way to automatically create my workspaces through CD? Should I not even be doing this because I can hardly find any information on this aspect.