Skip to content

Commit

Permalink
Fix key name
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Nemetz committed Mar 27, 2018
1 parent a1fc35d commit 2ae3ef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module "enabled" {

resource "github_membership" "this" {
count = "${module.enabled.value ? length(var.users) : 0}"
username = "${lookup(var.users[count.index], "name")}"
username = "${lookup(var.users[count.index], "username")}"
role = "${lookup(var.users[count.index], "role", "member")}"

# member or admin
Expand Down

0 comments on commit 2ae3ef5

Please sign in to comment.