Skip to content

Commit

Permalink
adding config + pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorOKane-Kainos committed Jul 4, 2024
1 parent 2cf388b commit 4697522
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion components/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ locals {

# Filter out excluded repositories
included_repositories = [
for repo in local.repositories_list : repo
for repo in local.repositories_list : repo
if !contains(var.excluded_repositories, repo)
]

Expand Down
8 changes: 4 additions & 4 deletions components/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ terraform {
required_version = ">= 1.4.0"

backend "azurerm" {
resource_group_name = "rule-set-rg"
storage_account_name = "rulesetsa"
container_name = "tfstate"
key = "terraform.tfstate"
resource_group_name = "rule-set-rg"
storage_account_name = "rulesetsa"
container_name = "tfstate"
key = "terraform.tfstate"
}

required_providers {
Expand Down
4 changes: 3 additions & 1 deletion components/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ variable "excluded_repositories" {
type = list(string)
default = [
# "rule-set-test-repo5"
"rule-set-test-repo7",
"rule-set-test-repo8"
]
}

variable "override_action" {
description = "The action to override"
type = string
default = "plan"
default = "plan"
}

variable "location" {
Expand Down
6 changes: 4 additions & 2 deletions test-repos.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"rule-set-test-repo3",
"rule-set-test-repo4",
"rule-set-test-repo5",
"rule-set-test-repo6"
"rule-set-test-repo6",
"rule-set-test-repo7",
"rule-set-test-repo8"
]


0 comments on commit 4697522

Please sign in to comment.