AmazonComputeInstanceMetadataResolver has an invalid path
While connecting the application to a consul running in a different ec2 instance (same VPC) the following error occurs in the logs

`[35mi.m.d.c.a.AmazonComputeInstanceMetadataResolver[0;39m - error getting public host name from:http://169.254.169.254//latest/meta-data/publicHostname
java.io.FileNotFoundException: http://169.254.169.254//latest/meta-data/public-hostname`

double // is included in path.

diff --git a/runtime/src/main/java/io/micronaut/discovery/cloud/aws/AmazonMetadataConfiguration.java b/runtime/src/main/java/io/micronaut/discovery/cloud/aws/AmazonMetadataConfiguration.java
index 8fb8db8f8d..779a3499e3 100644
--- a/runtime/src/main/java/io/micronaut/discovery/cloud/aws/AmazonMetadataConfiguration.java
+++ b/runtime/src/main/java/io/micronaut/discovery/cloud/aws/AmazonMetadataConfiguration.java
@@ -46,7 +46,7 @@ public class AmazonMetadataConfiguration implements Toggleable {
      * The default url value.
      */
     @SuppressWarnings("WeakerAccess")
-    public static final String DEFAULT_URL = "http://169.254.169.254/";
+    public static final String DEFAULT_URL = "http://169.254.169.254";
 
     private String url = DEFAULT_URL;
     private String metadataUrl;
['runtime/src/main/java/io/micronaut/discovery/cloud/aws/AmazonMetadataConfiguration.java']