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

mismatch in aws endpoint attributes #106

Closed
ghost opened this issue Jun 26, 2013 · 1 comment
Closed

mismatch in aws endpoint attributes #106

ghost opened this issue Jun 26, 2013 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 26, 2013

If you're not in us-east-1 (the default ec2.amazonaws.com) you need to specify it in data bag. Looking at the template elasticsearch.yml.erb:
<%= print_value 'cloud.aws.ec2.endpoint' -%>

In aws attributes:
default.elasticsearch[:cloud][:ec2][:endpoint] = ( aws['cloud']['ec2']['endpoint'] rescue nil )

Should be:
default.elasticsearch[:cloud][:aws][:ec2][:endpoint] = ( aws['cloud']['aws']['ec2']['endpoint'] rescue nil )

Thanks,
Maciek

@karmi karmi closed this as completed in e1d3afd Aug 1, 2013
@karmi
Copy link
Contributor

karmi commented Aug 1, 2013

Thanks for the catch!, fixed and pushed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant