Skip to content
This repository was archived by the owner on Feb 15, 2018. It is now read-only.

Commit 3f0b7aa

Browse files
committed
Use the instance metadata IP instead of FQDN (#67)
1 parent 7d15953 commit 3f0b7aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/autocluster.app.src

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{application, autocluster,
22
[
33
{description, "RabbitMQ Automatic Clustering Plugin"},
4-
{vsn, "0.6.0"},
4+
{vsn, "0.6.1"},
55
{env, []},
66
{mod, {autocluster_app, []}},
77
{modules, [

src/autocluster_aws.erl

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
-include_lib("rabbitmq_aws/include/rabbitmq_aws.hrl").
2020

2121
-define(INSTANCE_ID_URL,
22-
"http://instance-data/latest/meta-data/instance-id").
22+
"http://169.254.169.254/latest/meta-data/instance-id").
2323
-define(AUTOSCALING_DESCRIBE_INSTANCES,
2424
"/?Action=DescribeAutoScalingInstances&Version=2011-01-01").
2525

0 commit comments

Comments
 (0)