Skip to content

Commit

Permalink
fix: Backwards compatibility for standardized instance sizing in AWS (#…
Browse files Browse the repository at this point in the history
…180)

* fix: Add standardized instance sizing in AWS

* empty

* empty
  • Loading branch information
yogeshg authored Feb 21, 2024
1 parent 0202f79 commit fa18488
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,19 @@ output "database_password" {
}

output "database_instance_type" {
value = local.deployment_size[var.size].db
value = try(local.deployment_size[var.size].db, var.database_instance_class)
}

output "elasticache_connection_string" {
value = var.create_elasticache ? module.redis.0.connection_string : null
}

output "eks_node_count" {
value = local.deployment_size[var.size].node_count
value = try(local.deployment_size[var.size].node_count, var.kubernetes_node_count)
}

output "eks_node_instance_type" {
value = local.deployment_size[var.size].node_instance
value = try([local.deployment_size[var.size].node_instance], var.kubernetes_instance_types)
}

output "internal_app_port" {
Expand Down Expand Up @@ -68,7 +68,7 @@ output "network_public_subnets" {
}

output "redis_instance_type" {
value = local.deployment_size[var.size].cache
value = try(local.deployment_size[var.size].cache, var.elasticache_node_type)
}

output "standardized_size" {
Expand Down

0 comments on commit fa18488

Please sign in to comment.