tf-gh-actions

Steps

  1. Create Terraform Workspace named GH-Action
  2. Create environment variable for the workspace named AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY mark both variables as sensitive
  3. Create protection branch to simulate like production environment

References

  1. https://learn.hashicorp.com/tutorials/terraform/github-actions