Skip to content

Instantly share code, notes, and snippets.

@lielran
Created April 20, 2015 19:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lielran/56a1cd25e03040832e91 to your computer and use it in GitHub Desktop.
Save lielran/56a1cd25e03040832e91 to your computer and use it in GitHub Desktop.
terraform
curl localhost:8500/v1/catalog/nodes
curl localhost:8500/v1/catalog/services
dig @127.0.0.1 -p 8600 consul.service.consul SRV
curl -v http://localhost:8500/v1/kv/?recurse
curl -X PUT -d 'test' http://localhost:8500/v1/kv/web/key1
curl -X PUT -d 'test' http://localhost:8500/v1/kv/web/key2?flags=42
curl -X PUT -d 'test' http://localhost:8500/v1/kv/web/sub/key3
terraform plan
terraform apply
terraform push -name lielran/consul
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment