https://github.com/thesoftwarehouse/aws-oidc-github
Terraform Module To Bootstrap AWS IAM Role For OIDC From GitHub
https://github.com/thesoftwarehouse/aws-oidc-github
Last synced: 4 months ago
JSON representation
Terraform Module To Bootstrap AWS IAM Role For OIDC From GitHub
- Host: GitHub
- URL: https://github.com/thesoftwarehouse/aws-oidc-github
- Owner: TheSoftwareHouse
- Created: 2025-03-13T13:05:53.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-26T09:43:05.000Z (about 1 year ago)
- Last Synced: 2025-06-23T01:11:27.308Z (11 months ago)
- Language: HCL
- Size: 5.86 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 0.15 |
## Providers
| Name | Version |
|------|---------|
| [aws](#provider\_aws) | n/a |
| [tls](#provider\_tls) | n/a |
## Modules
No modules.
## Resources
| Name | Type |
|------|------|
| [aws_iam_openid_connect_provider.github](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_openid_connect_provider) | resource |
| [aws_iam_role.ci_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource |
| [aws_iam_role_policy_attachment.role_policies](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) | resource |
| [aws_iam_policy_document.allow_ci](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) | data source |
| [tls_certificate.github](https://registry.terraform.io/providers/hashicorp/tls/latest/docs/data-sources/certificate) | data source |
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [github\_org](#input\_github\_org) | Github Trusted Organisation | `string` | n/a | yes |
| [github\_repos](#input\_github\_repos) | Github Trusted Repositories | `list(string)` | `[]` | no |
| [github\_url](#input\_github\_url) | The URL Of The Token Endpoint For Github | `string` | `"https://token.actions.githubusercontent.com"` | no |
| [role\_name](#input\_role\_name) | Name Of The Role To Create | `string` | `"GitHubActions"` | no |
| [role\_policies](#input\_role\_policies) | List Of IAM Policy ARNs To Attach To The CI Role | `list(string)` |
[
"arn:aws:iam::aws:policy/AdministratorAccess"
]
| no |
| [tags](#input\_tags) | List Of Tags For Resources | `map(string)` | `{}` | no |
## Outputs
| Name | Description |
|------|-------------|
| [role\_arn](#output\_role\_arn) | n/a |