Skip to content

Commit

Permalink
reusing redis hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocicerchia committed Dec 30, 2024
1 parent d5f2add commit dcd53f4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 1 addition & 2 deletions sys/terraform/ecs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ resource "aws_ecs_task_definition" "ecstask" {
env_bitbucketauthmethod = var.env_bitbucketauthmethod
env_githubauthmethod = var.env_githubauthmethod
env_phpfpmhost = var.env_phpfpmhost
env_redishost = var.env_redishost
env_redishost = var.env_redishost
env_redishost = aws_elasticache_cluster.rediscluster.cache_nodes[0].address
env_resolverip = var.env_resolverip
env_sentrydsn = var.env_sentrydsn
env_trustedproxies = var.env_trustedproxies
Expand Down
5 changes: 0 additions & 5 deletions sys/terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,6 @@ variable "env_githubusername" {
type = string
}

variable "env_redishost" {
description = "Environment variable for REDIS_HOST"
type = string
}

variable "env_phpfpmhost" {
description = "Environment variable for PHPFPM_HOST"
type = string
Expand Down

0 comments on commit dcd53f4

Please sign in to comment.