Use shared ec2 module snippet in elasticache module