Skip to content

Commit

Permalink
condition should be StringEquals
Browse files Browse the repository at this point in the history
  • Loading branch information
JBSchami committed Jan 29, 2025
1 parent 9389b98 commit 6e60386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/iam-github-oidc/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ module "iam_github_oidc_role" {
# `actor` scope. Any other GitHub OIDC claims can be used as well.
additional_provider_trust_policy_conditions = [
{
test = "ForAllValues:StringEquals"
test = "StringEquals"
variable = "${module.iam_github_oidc_provider.url}:actor"
# This should be the list of GitHub usernames for which you want to restrict
# access to the role.
Expand Down

0 comments on commit 6e60386

Please sign in to comment.