Skip to content

Commit 4a25005

Browse files
github oidc connect resource added
1 parent 9495c41 commit 4a25005

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

main.tf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
resource "aws_iam_openid_connect_provider" "github_oidc_connect" {
2+
url = "https://token.actions.githubusercontent.com"
3+
4+
client_id_list = [
5+
"sts.amazonaws.com",
6+
]
7+
8+
thumbprint_list = ["ffffffffffffffffffffffffffffffffffffffff"]
9+
}
110
resource "aws_iam_role" "github_actions_role" {
211
name = var.role_name
312
assume_role_policy = data.aws_iam_policy_document.assume_role_policy.json

0 commit comments

Comments
 (0)