Learn how to properly configure Terraform remote state on S3, and give your GitHub actions permissions to apply your Terraform code on AWS. Then finally turn it into a reusable module.
Code and docs available here 👉 https://stakpak.dev/george/terraform-...