Skip to content

Commit

Permalink
Add support for an optional ConsulToken to ec2 to enable Consul ACL t…
Browse files Browse the repository at this point in the history
…okens

Contributes to nubisproject/nubis-consul#27
  • Loading branch information
gozer committed Aug 17, 2015
1 parent 1dd6f05 commit 9dfeacd
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions ec2.template
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,11 @@
"private"
],
"Default": "private"
},
"ConsulToken": {
"Description": "Optionnal ACL Token for Consul",
"Type": "String",
"Default": "anonymous"
}
},
"Conditions": {
Expand Down Expand Up @@ -394,6 +399,18 @@
"'"
]
]
},
{
"Fn::Join": [
"",
[
"CONSUL_ACL_TOKEN='",
{
"Ref": "ConsulToken"
},
"'"
]
]
}
]
]
Expand Down

0 comments on commit 9dfeacd

Please sign in to comment.