Tool for generating plantuml diagrams from Azure resources.
AzureMap has two modes:
- Console mode
- Action mode
az login --use-device-code
or set the following env variables
- AZURE_TENANT_ID
- AZURE_CLIENT_ID
- AZURE_CLIENT_SECRET
- AZURE_SUBSCRIPTION_ID
node ./lib/index.mjs
This action requires a valid user for accessing the Azure API. It supports two modes:
- Execute the Azure/login action before running this action or
- Set the following env variables for the task:
- AZURE_TENANT_ID
- AZURE_CLIENT_ID
- AZURE_CLIENT_SECRET
The action will produce a build artifact (zip file) named diagrams
containing a puml and png file.
Argument | Required | Description |
---|---|---|
subscription | ✓ | azure subscription id |
name: 'example'
on:
push:
branches:
- '**'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Tool for generating plantuml diagrams from Azure resources.
uses: localgod/[email protected]
with:
subscription: ${{ env.AZURE_SUBSCRIPTION_ID }}
- name: Store Artifact
uses: actions/upload-artifact@v3
with:
name: diagrams
path: |
AzureMap
npm install
npm run build
npm install
npm run dev