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

Set AWS Elasticache Port Number to be required #2160

Merged
merged 2 commits into from
Jun 8, 2015

Conversation

grubernaut
Copy link
Contributor

Set Elasticache Port number to not be set by default, and require
Elasticache Port number to be specified.

Also updated acceptance tests to supply port number upon resource
declaration

Fixes #2084

Set Elasticache Port number to not be set by default, and require
Elasticache Port number to be specified.

Also updated acceptance tests to supply port number upon resource
declaration

Fixes hashicorp#2084
@catsby
Copy link
Contributor

catsby commented Jun 1, 2015

Thanks @grubernaut – can yo update https://github.com/hashicorp/terraform/blob/master/website/source/docs/providers/aws/r/elasticache_cluster.html.markdown as well, maybe even mentioning what the default is for Redis/Memcached?

@@ -123,7 +122,7 @@ func resourceAwsElasticacheClusterCreate(d *schema.ResourceData, meta interface{
numNodes := int64(d.Get("num_cache_nodes").(int)) // 2
engine := d.Get("engine").(string) // memcached
engineVersion := d.Get("engine_version").(string) // 1.4.14
port := int64(d.Get("port").(int)) // 11211
port := int64(d.Get("port").(int)) // e.g) 11211
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

e.g)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I remove the space after the parens?

@grubernaut
Copy link
Contributor Author

@catsby Updated Documentation as requested

@mitchellh
Copy link
Contributor

LGTM!

mitchellh added a commit that referenced this pull request Jun 8, 2015
provider/aws: Set AWS Elasticache Port Number to be required
@mitchellh mitchellh merged commit 8748a86 into hashicorp:master Jun 8, 2015
@ghost
Copy link

ghost commented May 2, 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 2, 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.

Feature Request: Elasticache defaults to port 6379 when engine = 'redis'
3 participants