home.social

#azurecli — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #azurecli, aggregated by home.social.

  1. What if we could script the creation and configuration of a GitHub Repository so that it is ready to provision or deploy Azure resources from a GitHub Actions pipeline?

    That's the topic of my new article that uses GitHub CLI and Azure CLI to script the GitHub repository 👉 drp.li/42tSe

    🔒 Authentication to Azure is done using workload federation identity / Open ID Connect.

    #github #azure #GitHubCLI #azurecli #powershell #oidc

  2. I have been playing with the GitHub CLI and I love it. A bit disappointed though that you can't change the output of all commands to json to take profit of the jq flag. They should have taken inspiration from Azure CLI that does it right #GitHubCLI #github #azurecli

  3. So, #AWS #cloudformation vs #AWSCLI. Looks to be ending up the same as Azure #ARM vs #AzureCLI. If you already have the template, and deploy it once, it is good. But developing CLI scripts is quicker (debug one step at a time, rather than all at once). And templates run into the same dead ends: e.g. decides it needs to recreate the entire subnet, so it attempts to, but runs into an IP address conflict with the existing one, and the whole thing stops. There are things/changes that declarative approaches just can't do, and you need to use migrations (CLI scripts).

  4. I wrote a post a few months ago on adding #devcontainer features which did not age very well 😅 Revisited the topic here to show how you can easily add #azure cli extensions and #azurebicep to your #devcontainers using the new #azurecli feature dev.to/azure/re-visiting-dev-c