symopsio / terraform-github-actions-oidc

Companion to our blog post

Home Page:https://blog.symops.com/2022/04/14/terraform-pipeline-with-github-actions-and-github-oidc-for-aws/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

terraform-github-actions-oidc

This repo is a companion to our blog post: Set Up a Terraform Pipeline with GitHub Actions and GitHub OIDC for AWS.

Repo layout

bootstrap environment

The bootstrap environment is where we configure the IAM Role that our GitHub action will use.

prod environment

The prod environment is where we set up our Terraform state backend and provision some example infrastructure, in this case an AWS SSM-enabled bastion instance.

github-oidc-role module

The github-oidc-role creates the IAM Role that our GitHub action will use.

ssm-bastion module

The ssm-bastion sets up a bastion instance that you can access with AWS Session Manager.

The module also includes a tunnel script you can use to port forward to local host via the bastion.

About Sym

Sym helps developers solve painful access management problems with standard infrastructure tools.

Check out Sym's GitHub Actions Quickstart for an example of how to set up a temporary access flow for Okta using GitHub Actions.

About

Companion to our blog post

https://blog.symops.com/2022/04/14/terraform-pipeline-with-github-actions-and-github-oidc-for-aws/

License:Apache License 2.0


Languages

Language:HCL 74.3%Language:Shell 25.7%