diff --git a/samples/IaCMapping/main.tf b/samples/IaCMapping/main.tf new file mode 100644 index 0000000..ead97cb --- /dev/null +++ b/samples/IaCMapping/main.tf @@ -0,0 +1,29 @@ +terraform { + required_providers { + azurerm = { + source = "hashicorp/azurerm" + version = "~> 3.0" # adjust this as per your requirements + } + } +} + +provider "azurerm" { + features {} +} + +resource "azurerm_resource_group" "resourcegroup" { + name = "iacmappingdemo" + location = "Central US" +} + +resource "azurerm_storage_account" "terraformaccount1" { + name = "iacmapping1212" + resource_group_name = azurerm_resource_group.resourcegroup.name + location = "Central US" + account_tier = "Standard" + account_replication_type = "GRS" + + tags = { + "mapping_tag" = "6189b638-15a5-42ec-b934-0d2b8e035ce1" + } +}