An open API service indexing awesome lists of open source software.

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

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 |