Skip to content

Instantly share code, notes, and snippets.

View tevaum's full-sized avatar

Estêvão Samuel Procópio Amaral tevaum

View GitHub Profile
#!/bin/bash
AUTH_KEY=YOUR_API_KEY_HERE
function rancher-service-get-id () {
env="$1"
service="$2"
if [ -z "$service" ]; then
echo use rancher-service-get-id '<environment id> <service name>'