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
99 stars 54 forks source link

feat: allow wildcard in repo names #20

Closed liamfit closed 1 year ago

liamfit commented 1 year ago

I would like to use a wildcard in repository names so that I can allow multiple repos for a project without having to update the trust policy each time, i.e.

                "StringLike": {
                    "token.actions.githubusercontent.com:sub": "repo:liamfit/demo-*:*"
                }
            }
unfunco commented 1 year ago

Thanks @liamfit – this has been released in v1.2.0.