diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b782779d..ad3608cd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ files: (^terraform\/\S+)|(.pre\-commit\-config.yaml)|(.circleci\/\S+) repos: - repo: https://github.com/antonbabenko/pre-commit-terraform - rev: v1.81.0 + rev: v1.83.5 hooks: - id: terraform_fmt - id: terraform_validate @@ -14,7 +14,7 @@ repos: - --hook-config=--create-file-if-not-exist=true - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer diff --git a/terraform/README.md b/terraform/README.md index edd9ac5c..c788d55f 100644 --- a/terraform/README.md +++ b/terraform/README.md @@ -1,4 +1,4 @@ -# trade-tariff-duty-calculator terraform +# trade-tariff-admin Terraform to deploy the service into AWS. @@ -6,7 +6,7 @@ Terraform to deploy the service into AWS. | Name | Version | |------|---------| -| [terraform](#requirement\_terraform) | 1.5.5 | +| [terraform](#requirement\_terraform) | >= 1.5.5 | | [aws](#requirement\_aws) | ~> 4 | ## Providers diff --git a/terraform/locals.tf b/terraform/locals.tf index dacb127a..7dc33279 100644 --- a/terraform/locals.tf +++ b/terraform/locals.tf @@ -1,8 +1,8 @@ locals { service = "admin" api_service_backend_url_options = { - uk = "http://backend-uk.tariff.internal:8080" - xi = "http://backend-xi.tariff.internal:8080" + uk = "http://backend-admin-uk.tariff.internal:8080" + xi = "http://backend-admin-xi.tariff.internal:8080" } govuk_app_domain = var.environment != "production" ? var.environment == "development" ? "tariff-admin-dev" : "tariff-admin-staging" : "tariff-admin" diff --git a/terraform/versions.tf b/terraform/versions.tf index 8846e3d1..6923c5f5 100644 --- a/terraform/versions.tf +++ b/terraform/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = "1.5.5" + required_version = ">= 1.5.5" required_providers { aws = {