diff --git a/terraform/repositories.tf b/terraform/repositories.tf index 80354fe..451fea6 100644 --- a/terraform/repositories.tf +++ b/terraform/repositories.tf @@ -1,5 +1,5 @@ data "github_repositories" "available" { - query = "org:promhippie" + query = "org:${var.organization} archived:false" } locals { diff --git a/terraform/variables.tf b/terraform/variables.tf index 92049c5..75f07a2 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -1,3 +1,7 @@ +variable "organization" { + default = "promhippie" +} + variable "members" { default = [ {