unfunco / terraform-aws-oidc-github

Terraform module to configure GitHub Actions as an IAM OIDC identity provider in AWS.
https://registry.terraform.io/modules/unfunco/oidc-github/aws/latest
Apache License 2.0
91 stars 51 forks source link

feat: Add support for GitHub Enterprise Cloud #29

Closed unfunco closed 1 year ago

unfunco commented 1 year ago

Adds support for GitHub Enterprise Cloud customers by adding a new variable called enterprise_slug which when populated, will configure the OIDC provider with a different issuer URL, and will condition the role to be assumed only when the iss claim includes the enterprise slug.