You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-4Lines changed: 25 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,11 @@ See `examples` directory for working examples to reference
73
73
## Available features
74
74
75
75
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
76
+
# AWS Github OIDC Provider Terraform Module
77
+
78
+
## Purpose
79
+
This module allows you to create a Github OIDC provider for your AWS account, that will help Github Actions to securely authenticate against the AWS API using an IAM role
80
+
76
81
## Requirements
77
82
78
83
| Name | Version |
@@ -81,27 +86,43 @@ See `examples` directory for working examples to reference
| <aname="input_variable"></a> [variable](#input\_variable)| defaul,description,type |`string`|`"variable"`| no |
110
+
| <aname="input_create_oidc_provider"></a> [create\_oidc\_provider](#input\_create\_oidc\_provider)| Whether or not to create the associated oidc provider. If false, variable 'oidc\_provider\_arn' is required |`bool`|`true`| no |
111
+
| <aname="input_create_oidc_role"></a> [create\_oidc\_role](#input\_create\_oidc\_role)| Whether or not to create the OIDC attached role |`bool`|`true`| no |
112
+
| <aname="input_github_repositories"></a> [github\_repositories](#input\_github\_repositories)| List of GitHub organization/repository names authorized to assume the role. |`list(string)`|`[]`| no |
| <aname="input_max_session_duration"></a> [max\_session\_duration](#input\_max\_session\_duration)| Maximum session duration in seconds. |`number`|`3600`| no |
115
+
| <aname="input_oidc_role_attach_policies"></a> [oidc\_role\_attach\_policies](#input\_oidc\_role\_attach\_policies)| Attach policies to OIDC role. |`list(string)`|`[]`| no |
116
+
| <aname="input_role_description"></a> [role\_description](#input\_role\_description)| (Optional) Description of the role. |`string`|`"Role assumed by the GitHub OIDC provider."`| no |
117
+
| <aname="input_role_name"></a> [role\_name](#input\_role\_name)| (Optional, Forces new resource) Friendly name of the role. |`string`|`"oidc-provider-aws-github-action"`| no |
118
+
| <aname="input_tags"></a> [tags](#input\_tags)| A mapping of tags to assign to all resources |`map(string)`|`{}`| no |
99
119
100
120
## Outputs
101
121
102
122
| Name | Description |
103
123
|------|-------------|
104
-
| <aname="output_used"></a> [used](#output\_used)| used value |
0 commit comments