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 3, 2024
1 parent b7dbfa5 commit 9684ecf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ jobs:
ARM_SUBSCRIPTION_ID: ${{ secrets.DCD_CFT_SANDBOX_SUBSCRIPTION }}
ARM_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
run: |
terraform apply -auto-approve tfplan
terraform apply -auto-approve tfplan
8 changes: 4 additions & 4 deletions components/provider.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
provider "github" {
token = var.github_token
owner = "hmcts"
}
# provider "github" {
# token = var.github_token
# owner = "hmcts"
# }

terraform {
required_version = ">= 1.3.6"
Expand Down
10 changes: 5 additions & 5 deletions components/variables.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
variable "github_token" {
description = "GitHub token to use for authentication."
type = string
sensitive = true
}
# variable "github_token" {
# description = "GitHub token to use for authentication."
# type = string
# sensitive = true
# }

# variable "repositories" {
# description = "List of repositories to apply branch protection rules"
Expand Down

0 comments on commit 9684ecf

Please sign in to comment.