Skip to content

Commit b707fe2

Browse files
Andres Montalbannpalm
andauthored
chore: Add tags for OIDC Identity Provider (#85)
Co-authored-by: Niek Palm <[email protected]>
1 parent 3992720 commit b707fe2

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

modules/provider/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ No modules.
3030

3131
| Name | Description | Type | Default | Required |
3232
|------|-------------|------|---------|:--------:|
33+
| <a name="input_tags"></a> [tags](#input\_tags) | A map of tags to add to OIDC identity provider. | `map(string)` | `{}` | no |
3334
| <a name="input_thumbprint_list"></a> [thumbprint\_list](#input\_thumbprint\_list) | (Optional) A list of server certificate thumbprints for the OpenID Connect (OIDC) identity provider's server certificate(s). | `list(string)` | <pre>[<br> "6938fd4d98bab03faadb97b34396831e3780aea1",<br> "1c58a3a8518e8759bf075b76b750d4f2df264fcd"<br>]</pre> | no |
3435

3536
## Outputs

modules/provider/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ resource "aws_iam_openid_connect_provider" "github_actions" {
22
url = "https://token.actions.githubusercontent.com"
33
client_id_list = ["sts.amazonaws.com"]
44
thumbprint_list = var.thumbprint_list
5+
tags = var.tags
56
}

modules/provider/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,9 @@ variable "thumbprint_list" {
1010
"1c58a3a8518e8759bf075b76b750d4f2df264fcd"
1111
]
1212
}
13+
14+
variable "tags" {
15+
description = "A map of tags to add to OIDC identity provider."
16+
type = map(string)
17+
default = {}
18+
}

0 commit comments

Comments
 (0)