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 4ab8e5b commit e8a7d3e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
id-token: write
contents: read

jobs:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -50,9 +50,8 @@ jobs:
ARM_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
ARM_SUBSCRIPTION_ID: ${{ secrets.DCD_CFT_SANDBOX_SUBSCRIPTION }}
ARM_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}

run: |
terraform plan -out=tfplan \
-var="location=UK South" \
-var="override_action=plan" \
-var="override_action=plan"
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

0 comments on commit e8a7d3e

Please sign in to comment.