From dbcf3ff5166d9c559471574b34700e366666b3e0 Mon Sep 17 00:00:00 2001 From: Charlie Voiselle Date: Wed, 9 Aug 2017 12:53:54 -0400 Subject: [PATCH] AMI ID is potentally non-unique Changed the keys map to reflect that. --- client/fingerprint/env_aws.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/fingerprint/env_aws.go b/client/fingerprint/env_aws.go index efd00efbb..aafd21fc9 100644 --- a/client/fingerprint/env_aws.go +++ b/client/fingerprint/env_aws.go @@ -95,7 +95,7 @@ func (f *EnvAWSFingerprint) Fingerprint(cfg *config.Config, node *structs.Node) // uniquely identifies a node, such as ip, should be marked as unique. When // marked as unique, the key isn't included in the computed node class. keys := map[string]bool{ - "ami-id": true, + "ami-id": false, "hostname": true, "instance-id": true, "instance-type": false,