Recap: March 2024

Professional Development

Code Written

Azure Resource Inventory – Azure Function

  • Languages: PowerShell, GraphQL
  • Justification:
    • Need to track Azure Resources across multiple tenants in Monday.com
    • Need to associate secrets and certificates with the resources they are used in, especially to simplify the secret rollover or removal process.
  • Function:
    • Script iterates over an array of Azure tenants.
    • Script iterates over each subscription in each tenant and pulls all existing Azure resources.
    • Script captures resource metadata, including resource group and resource type.
    • Script checks Monday.com inventory board to see if the item has already been captured.
      • If the resource has already been captured, the metadata values are made current.
      • If the resource has not yet been captured, a new entry is made on the Monday.com board
    • User is then able to use the secrets inventory board to reference a resource that has been captured by the script.

Personal Enjoyment

Tagged in:,

0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *