Skip to content

Instantly share code, notes, and snippets.

@ivanthelad
Created May 20, 2025 09:12
Show Gist options
  • Save ivanthelad/8e760b2b60ae54afcef5f210bd9343fa to your computer and use it in GitHub Desktop.
Save ivanthelad/8e760b2b60ae54afcef5f210bd9343fa to your computer and use it in GitHub Desktop.
a quick file to output
az deployment group show -g "$RG_NAME" -n "$DEPLOY_NAME" --query "keys(properties.outputs)" -o tsv | xargs -I{} bash -c 'v=$(az deployment group show -g "$RG_NAME" -n "$DEPLOY_NAME" --query "properties.outputs.{}.value" -o tsv); echo export {}="$v"; export {}="$v"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment