| Name | Version |
|---|---|
| terraform | ~> 1.8.4 |
| aws | ~> 5.51.0 |
| Name | Version |
|---|---|
| aws | ~> 5.51.0 |
No modules.
| Name | Type |
|---|---|
| aws_iam_openid_connect_provider.github_oidc_connect | resource |
| aws_iam_role.github_actions_role | resource |
| aws_iam_role_policy_attachment.attach_admin_policy | resource |
| aws_iam_policy_document.assume_role_policy | data source |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| aws_account_id | The AWS Account ID | string |
n/a | yes |
| github_username | The name of the GitHub user or organization that owns the repository(ies) the role will use. | string |
n/a | yes |
| repository_names | List of names of the GitHub repository that will be allowed to assume the role. | list(string) |
n/a | yes |
| role_name | The name of the IAM Role to be created. | string |
"GitHubActionsRole" |
no |
| Name | Description |
|---|---|
| role_arn | The ARN of the IAM role |