Skip to content

philipstreet/azure-auto-tagging

Repository files navigation

Azure Auto-Tagging

This repo provides examples of using two auto-tagging frameworks for deploying resources into Azure; terratag and yor. The frameworks automatically add git metadata tags to the resources being deployed - without commit those changes to the git repo - to facilitate traceability of those resources in the Azure Portal. Essentially, they provide answers to the questions, "What, where, when deployed these resources?".

The repo deploys an Azure Storage Account in three different ways:

  • using a resource block
  • using a module block, where the source is defined in a local "modules" folder
  • using a module block, where the source is from the Terraform registry

This will provide proof that the frameworks can handle the three different approaches to deploying a resource.

Requirements

Name Version
terraform >= 1.7.0
azurerm >= 3.0

Providers

Name Version
azurerm 3.105.0

Modules

Name Source Version
local_storage_account ./modules/test n/a
naming Azure/naming/azurerm >= 0.4.1
remote_storage_account Azure/avm-res-storage-storageaccount/azurerm >= 0.1.1

Resources

Name Type
azurerm_resource_group.this resource
azurerm_storage_account.this resource

Inputs

Name Description Type Default Required
default_subscription_id ID of default subscription to which this deployment should be made. string n/a yes
environment The environment in which the resources will be created. string n/a yes
location The location/region where the resources will be created. string n/a yes

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published