diff --git a/aws/core/src/main/clojure/org/jclouds/aws/elastic_ip.clj b/aws/core/src/main/clojure/org/jclouds/aws/elastic_ip.clj index 1aaaf5c69f..768f5264bc 100644 --- a/aws/core/src/main/clojure/org/jclouds/aws/elastic_ip.clj +++ b/aws/core/src/main/clojure/org/jclouds/aws/elastic_ip.clj @@ -45,7 +45,7 @@ (defn associate "Associates an elastic IP address with a node." ([#^NodeMetadata node public-ip] - (associate node public-ip (.getId node))) + (associate node public-ip (.getProviderId node))) ([region public-ip instance-id] (.associateAddressInRegion (eip-service) (ebs/get-region region)