Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Memcached configuration from cloudformation templates #2177

Merged
merged 1 commit into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions cloudformation/infrastructure/elasticache-feature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,6 @@ Parameters:
Default: cache.m5.large

Resources:
MemcachedService:
Type: AWS::ElastiCache::CacheCluster
Properties:
VpcSecurityGroupIds:
- !Ref 'SecurityGroup'
CacheSubnetGroupName: 'crowd-cache-1frtjeewr57u7'
CacheNodeType: !Ref 'CacheNodeType'
ClusterName: !Sub '${EnvironmentName}-cache'
Engine: memcached
AutoMinorVersionUpgrade: true
NumCacheNodes: 1
RedisService:
Type: AWS::ElastiCache::CacheCluster
Properties:
Expand All @@ -47,11 +36,3 @@ Outputs:
RedisPort:
Description: Redis endpoint port
Value: !GetAtt 'RedisService.RedisEndpoint.Port'

MemcachedAddress:
Description: memcached endpoint address
Value: !GetAtt 'MemcachedService.ConfigurationEndpoint.Address'

MemcachedPort:
Description: memcached endpoint port
Value: !GetAtt 'MemcachedService.ConfigurationEndpoint.Port'
19 changes: 0 additions & 19 deletions cloudformation/infrastructure/elasticache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,6 @@ Resources:
Properties:
Description: Private subnet group
SubnetIds: !Ref PrivateSubnets
MemcachedService:
Type: AWS::ElastiCache::CacheCluster
Properties:
VpcSecurityGroupIds:
- !Ref 'SecurityGroup'
CacheSubnetGroupName: !Ref 'CachePrivateSubnetGroup'
CacheNodeType: !Ref 'CacheNodeType'
ClusterName: !Sub '${EnvironmentName}-cache'
Engine: memcached
AutoMinorVersionUpgrade: true
NumCacheNodes: 1
RedisService:
Type: AWS::ElastiCache::CacheCluster
Properties:
Expand All @@ -56,11 +45,3 @@ Outputs:
RedisPort:
Description: Redis endpoint port
Value: !GetAtt 'RedisService.RedisEndpoint.Port'

MemcachedAddress:
Description: memcached endpoint address
Value: !GetAtt 'MemcachedService.ConfigurationEndpoint.Address'

MemcachedPort:
Description: memcached endpoint port
Value: !GetAtt 'MemcachedService.ConfigurationEndpoint.Port'
20 changes: 0 additions & 20 deletions cloudformation/infrastructure/fargate-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,6 @@ Parameters:
Type: String
Description: Redis endpoint port

MemcachedAddress:
Type: String
Description: memcached endpoint address

MemcachedPort:
Type: String
Description: memcached endpoint port

CanonicalHostName:
Type: String
Description: canonical host name of the application, e.g. crowd-test.loc.gov
Expand Down Expand Up @@ -303,10 +295,6 @@ Resources:
Value: !Ref RedisAddress
- Name: REDIS_PORT
Value: !Ref RedisPort
- Name: MEMCACHED_ADDRESS
Value: !Ref MemcachedAddress
- Name: MEMCACHED_PORT
Value: !Ref MemcachedPort
- Name: POSTGRESQL_HOST
Value: !Ref DatabaseEndpoint
- Name: HOST_NAME
Expand Down Expand Up @@ -350,10 +338,6 @@ Resources:
Value: !Ref RedisAddress
- Name: REDIS_PORT
Value: !Ref RedisPort
- Name: MEMCACHED_ADDRESS
Value: !Ref MemcachedAddress
- Name: MEMCACHED_PORT
Value: !Ref MemcachedPort
- Name: POSTGRESQL_HOST
Value: !Ref DatabaseEndpoint
- Name: HOST_NAME
Expand Down Expand Up @@ -395,10 +379,6 @@ Resources:
Value: !Ref RedisAddress
- Name: REDIS_PORT
Value: !Ref RedisPort
- Name: MEMCACHED_ADDRESS
Value: !Ref MemcachedAddress
- Name: MEMCACHED_PORT
Value: !Ref MemcachedPort
- Name: POSTGRESQL_HOST
Value: !Ref DatabaseEndpoint
- Name: HOST_NAME
Expand Down
20 changes: 0 additions & 20 deletions cloudformation/infrastructure/fargate-featurebranch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,6 @@ Parameters:
Type: String
Description: Redis endpoint port

MemcachedAddress:
Type: String
Description: memcached endpoint address

MemcachedPort:
Type: String
Description: memcached endpoint port

CanonicalHostName:
Type: String
Description: canonical host name of the application, e.g. crowd-test.loc.gov
Expand Down Expand Up @@ -155,10 +147,6 @@ Resources:
Value: !Ref RedisAddress
- Name: REDIS_PORT
Value: !Ref RedisPort
- Name: MEMCACHED_ADDRESS
Value: !Ref MemcachedAddress
- Name: MEMCACHED_PORT
Value: !Ref MemcachedPort
- Name: POSTGRESQL_HOST
Value: !Ref DatabaseEndpoint
- Name: HOST_NAME
Expand Down Expand Up @@ -202,10 +190,6 @@ Resources:
Value: !Ref RedisAddress
- Name: REDIS_PORT
Value: !Ref RedisPort
- Name: MEMCACHED_ADDRESS
Value: !Ref MemcachedAddress
- Name: MEMCACHED_PORT
Value: !Ref MemcachedPort
- Name: POSTGRESQL_HOST
Value: !Ref DatabaseEndpoint
- Name: HOST_NAME
Expand Down Expand Up @@ -247,10 +231,6 @@ Resources:
Value: !Ref RedisAddress
- Name: REDIS_PORT
Value: !Ref RedisPort
- Name: MEMCACHED_ADDRESS
Value: !Ref MemcachedAddress
- Name: MEMCACHED_PORT
Value: !Ref MemcachedPort
- Name: POSTGRESQL_HOST
Value: !Ref DatabaseEndpoint
- Name: HOST_NAME
Expand Down