Skip to content

Instantly share code, notes, and snippets.

@nehrman
Created May 20, 2019 09:32
Show Gist options
  • Save nehrman/178365dfa8c2d1b44a0ce2aff63b3671 to your computer and use it in GitHub Desktop.
Save nehrman/178365dfa8c2d1b44a0ce2aff63b3671 to your computer and use it in GitHub Desktop.
Hashicorp Snippets for Pet
[[snippets]]
description = "List all known datacenters from the catalog"
command = "consul catalog datacenters"
tag = ["consul"]
output = """
dc1
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment