Some quick fixes that I noticed deploying sandbox dev (#7948)

This commit is contained in:
Zachary Winnerman 2022-09-29 11:15:33 -04:00 committed by GitHub
parent 2a6895b015
commit 891bdc0e24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -257,7 +257,7 @@ resource "aws_ecs_task_definition" "main" {
},
{
name = "QUEUED_INSTANCES"
value = data.aws_caller_identity.current.account_id == 411315989055 ? "20" : "5"
value = "20"
},
{
name = "TF_VAR_redis_address"

View file

@ -27,8 +27,8 @@ locals {
cluster_version = "1.21"
account_role_mapping = {
# Add nonprod or other deployed accounts here
411315989055 = "AWSReservedSSO_SandboxDevAdmins_6cfa1b6052653825"
968703308407 = "AWSReservedSSO_SandboxProdAdmins_9ccaa4f25c2eada0"
411315989055 = "AWSReservedSSO_SandboxProdAdmins_9ccaa4f25c2eada0"
968703308407 = "AWSReservedSSO_SandboxDevAdmins_6cfa1b6052653825"
}
# Role Generated by SSO but needs admin to EKS
# This hack is needed because "aws_iam_role" returns an unsusable ARN for EKS on SSO roles.