Skip to content

Commit

Permalink
my role is beggers not beneggers.com
Browse files Browse the repository at this point in the history
  • Loading branch information
beggers committed Mar 4, 2024
1 parent 03e7baa commit fe1d9b0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions terraform/github_actions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
# it secure.

resource "aws_iam_openid_connect_provider" "github" {
url = "https://token.actions.githubusercontent.com"
client_id_list = ["sts.amazonaws.com"]
thumbprint_list = ["6938fd4d98bab03faadb97b34396831e3780aea1"]
url = "https://token.actions.githubusercontent.com"
client_id_list = ["sts.amazonaws.com"]
# Not used by still required by tf.
thumbprint_list = ["ffffffffffffffffffffffffffffffffffffffff"]
}

data "aws_iam_policy_document" "github_actions_assume_role" {
Expand All @@ -23,7 +24,7 @@ data "aws_iam_policy_document" "github_actions_assume_role" {
condition {
test = "StringLike"
variable = "token.actions.githubusercontent.com:sub"
values = ["repo:beneggers.com/*"]
values = ["repo:beggers/*"]
}
}
}
Expand Down

0 comments on commit fe1d9b0

Please sign in to comment.