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

Adding configuration endpoint to the elasticache cluster nodes #3250

Merged

Conversation

stack72
Copy link
Contributor

@stack72 stack72 commented Sep 16, 2015

@phinze This should add the functionality for #3149

When I run this against my own production cluster, I get the following:

screen shot 2015-09-16 at 13 08 43

@phinze
Copy link
Contributor

phinze commented Sep 16, 2015

@stack72 I think that ConfigurationEndpoint is a property of the CacheCluster, not of a CacheNode, no? Idea is to be able to auto-discover the node list in supported clients.

https://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_DescribeCacheClusters.html

@stack72
Copy link
Contributor Author

stack72 commented Sep 16, 2015

AH! Configuration_endpoint is for memcached only :)

I will change where it sits and run another test to make sure

@stack72
Copy link
Contributor Author

stack72 commented Sep 16, 2015

@phinze ok, so I have now got this in the AWS console:

screen shot 2015-09-16 at 17 06 02

The terraform output gives me the following:

resource "aws_elasticache_cluster" "test_memcached" {
    cluster_id = "example"
    engine = "memcached"
    node_type = "cache.m1.small"
    port = 11211
    num_cache_nodes = 1
    parameter_group_name = "default.memcached1.4"
}

output "sample_configuration_endpoint" {
   value = "${aws_elasticache_cluster.test_memcached.configuration_endpoint}"
}

Outputs:
  sample_configuration_endpoint = example.lpokkm.cfg.euw1.cache.amazonaws.com:11211

@stack72
Copy link
Contributor Author

stack72 commented Sep 17, 2015

@phinze I think this is now what you wanted?

@phinze
Copy link
Contributor

phinze commented Sep 17, 2015

Looks good - thank you!

phinze added a commit that referenced this pull request Sep 17, 2015
…ndpoint

Adding configuration endpoint to the elasticache cluster nodes
@phinze phinze merged commit 028e50b into hashicorp:master Sep 17, 2015
@stack72 stack72 deleted the aws-elasticache-configuration_endpoint branch September 17, 2015 19:31
@ghost
Copy link

ghost commented May 1, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators May 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants