Skip to content

erikg16/terraform-azapi-subscription-tags

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Subscription Tagging Terraform module

Add tags to any azure subscription via terraform

Features

This module uses the ARM-Rest-Api via azapi provider to set tags on an subscription. It is not using the azurerm_subscription resource as this is using other APIs then the ARM Apis which is causing permission problems - especially when using CSP/AzurePlan-Subscriptions.

The tags are added. If a tag already exists it will be overridden. Other existing tags will not be deleted.

Requirements

Name Version
azapi >= 0.5.0

Providers

Name Version
azapi >= 0.5.0

Modules

No modules.

Resources

Name Type
azapi_update_resource.subscription_tags resource

Inputs

Name Description Type Default Required
ignore_missing_property Whether ignore not returned properties like credentials in body to suppress plan-diff bool false no
subscription_id The GUID of the subscription. string n/a yes
tags Map of tag key and values to apply to subscription. map(string) n/a yes

Outputs

No outputs.

About

Add tags to an azure subscription via terraform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 100.0%