Skip to content

Commit

Permalink
AUT-4030: ias: Dedup and tidy variables
Browse files Browse the repository at this point in the history
  • Loading branch information
whi-tw committed Feb 11, 2025
1 parent 9ed9c4b commit 0ee6a99
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 10 deletions.
1 change: 0 additions & 1 deletion ci/terraform/interventions-api-stub/authdev1.tfvars
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
environment = "authdev1"
shared_state_bucket = "di-auth-development-tfstate"
vpc_environment = "dev"
1 change: 0 additions & 1 deletion ci/terraform/interventions-api-stub/authdev2.tfvars
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
environment = "authdev2"
shared_state_bucket = "di-auth-development-tfstate"
vpc_environment = "dev"
11 changes: 8 additions & 3 deletions ci/terraform/interventions-api-stub/build.tfvars
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
interventions_api_stub_release_zip_file = "./artifacts/interventions-api-stub.zip"
shared_state_bucket = "digital-identity-dev-tfstate"
logging_endpoint_arns = [
"arn:aws:logs:eu-west-2:885513274347:destination:csls_cw_logs_destination_prodpython"
]

# VPC
orchestration_vpc_endpoint_id = "vpce-0867442e4d95fb43e"

# Logging
logging_endpoint_arns = ["arn:aws:logs:eu-west-2:885513274347:destination:csls_cw_logs_destination_prodpython"]

# Scaling
lambda_min_concurrency = 1
4 changes: 3 additions & 1 deletion ci/terraform/interventions-api-stub/dev.tfvars
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
interventions_api_stub_release_zip_file = "./artifacts/interventions-api-stub.zip"
shared_state_bucket = "di-auth-development-tfstate"
orchestration_vpc_endpoint_id = "vpce-0028f62dad635589a"

# VPC
orchestration_vpc_endpoint_id = "vpce-0028f62dad635589a"
5 changes: 3 additions & 2 deletions ci/terraform/interventions-api-stub/sandpit.tfvars
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
environment = "sandpit"
shared_state_bucket = "digital-identity-dev-tfstate"
shared_state_bucket = "digital-identity-dev-tfstate"

# VPC
orchestration_vpc_endpoint_id = "vpce-0028f62dad635589a"
4 changes: 2 additions & 2 deletions ci/terraform/interventions-api-stub/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ variable "lambda_max_concurrency" {
}

variable "scaling_trigger" {
default = 0.7
default = 0.6
type = number
}

variable "lambda_min_concurrency" {
default = 1
default = 0
type = number
description = "The number of lambda instance to keep 'warm'"
}
Expand Down

0 comments on commit 0ee6a99

Please sign in to comment.