From 3868d7874d17a3606b13e0b2b9738e7b3154e4cd Mon Sep 17 00:00:00 2001 From: Kyle Pettigrew Date: Wed, 4 Dec 2024 17:33:46 +1000 Subject: [PATCH] tf fmt --- backup/deployments.yaml | 4 ++-- infra/aws-impl/main.tf | 2 +- infra/aws-impl/provider.tf | 10 +++++----- .../deployments/validator-api.deployment.yaml | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/backup/deployments.yaml b/backup/deployments.yaml index 79a4710..243aff9 100644 --- a/backup/deployments.yaml +++ b/backup/deployments.yaml @@ -142,8 +142,8 @@ spec: - name: copy-ig image: {{ .Values.inferno.imageUrl }} imagePullPolicy: Always - command: ["bash", "-c", "cp /opt/inferno/lib/inferno_platform_template/igs/*.tgz /home/igs"] # for dev/non core image - # command: ["bash", "-c", "cp /opt/inferno/lib/au_core_test_kit/igs/*.tgz /home/igs"] #for prod / core image + # command: ["bash", "-c", "cp /opt/inferno/lib/inferno_platform_template/igs/*.tgz /home/igs"] # for dev/non core image + command: ["bash", "-c", "cp /opt/inferno/lib/au_core_test_kit/igs/*.tgz /home/igs"] #for prod / core image volumeMounts: - name: igs mountPath: /home/igs diff --git a/infra/aws-impl/main.tf b/infra/aws-impl/main.tf index 8630bbe..cf9602e 100644 --- a/infra/aws-impl/main.tf +++ b/infra/aws-impl/main.tf @@ -17,7 +17,7 @@ resource "helm_release" "inferno" { chart = "../helm/inferno" namespace = local.env_name create_namespace = true - reset_values = true + reset_values = true values = [ file("../helm/inferno/values.yaml"), diff --git a/infra/aws-impl/provider.tf b/infra/aws-impl/provider.tf index 1f6825e..822767c 100644 --- a/infra/aws-impl/provider.tf +++ b/infra/aws-impl/provider.tf @@ -13,7 +13,7 @@ provider "helm" { } } provider "aws" { - # profile = "FHIR-Admin" + profile = "FHIR-Admin" } @@ -27,9 +27,9 @@ terraform { } } backend "s3" { - bucket = "examplebucket-fhir-aws" - region = "ap-southeast-2" - # key = "infra/inferno/au-fhir-inferno-dev.tfstate" - # profile = "FHIR-Admin" + bucket = "examplebucket-fhir-aws" + region = "ap-southeast-2" + key = "infra/inferno/au-fhir-inferno-dev.tfstate" + profile = "FHIR-Admin" } } \ No newline at end of file diff --git a/infra/helm/inferno/templates/deployments/validator-api.deployment.yaml b/infra/helm/inferno/templates/deployments/validator-api.deployment.yaml index e3fde2e..9d9c858 100644 --- a/infra/helm/inferno/templates/deployments/validator-api.deployment.yaml +++ b/infra/helm/inferno/templates/deployments/validator-api.deployment.yaml @@ -23,8 +23,8 @@ spec: - name: copy-ig image: {{ .Values.inferno.imageUrl }} imagePullPolicy: Always - command: ["bash", "-c", "cp /opt/inferno/lib/inferno_platform_template/igs/*.tgz /home/igs"] # for dev/non core image - # command: ["bash", "-c", "cp /opt/inferno/lib/au_core_test_kit/igs/*.tgz /home/igs"] #for prod / core image + # command: ["bash", "-c", "cp /opt/inferno/lib/inferno_platform_template/igs/*.tgz /home/igs"] # for dev/non core image + command: ["bash", "-c", "cp /opt/inferno/lib/au_core_test_kit/igs/*.tgz /home/igs"] #for prod / core image volumeMounts: - name: igs mountPath: /home/igs