From aa8e00d1bb0993dc383f51d5f1d53ddbff07e4cb Mon Sep 17 00:00:00 2001 From: Omer Demirok Date: Tue, 7 Jul 2020 14:02:05 +0100 Subject: [PATCH] Add `tags` property to the azurerm_load_balancer resource Signed-off-by: Omer Demirok --- docs/resources/azurerm_load_balancers.md | 4 ---- libraries/azurerm_load_balancer.rb | 1 + libraries/azurerm_load_balancers.rb | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/resources/azurerm_load_balancers.md b/docs/resources/azurerm_load_balancers.md index 08463a981..98039bd70 100644 --- a/docs/resources/azurerm_load_balancers.md +++ b/docs/resources/azurerm_load_balancers.md @@ -94,7 +94,6 @@ Filters the results to include only those load balancers which reside in a given - `sku` - `location` - `properties` -- `tags` - `type` ### ids @@ -116,9 +115,6 @@ Resource location, e.g. `eastus`. ### properties A collection of additional configuration properties related to the Load Balancer, e.g. `loadBalancingRules`. -### tag -Resource tags applied to the Load balancer. - ### type The type of Resource, typically `Microsoft.Network/loadBalancers`. diff --git a/libraries/azurerm_load_balancer.rb b/libraries/azurerm_load_balancer.rb index d77593121..6715bfa27 100644 --- a/libraries/azurerm_load_balancer.rb +++ b/libraries/azurerm_load_balancer.rb @@ -18,6 +18,7 @@ class AzurermLoadBalancer < AzurermSingularResource type sku properties + tags ).freeze attr_reader(*ATTRS) diff --git a/libraries/azurerm_load_balancers.rb b/libraries/azurerm_load_balancers.rb index 97b491da2..96b1eced5 100644 --- a/libraries/azurerm_load_balancers.rb +++ b/libraries/azurerm_load_balancers.rb @@ -20,7 +20,6 @@ class AzurermLoadBalancers < AzurermPluralResource .register_column(:skus, field: :sku) .register_column(:locations, field: :location) .register_column(:properties, field: :properties) - .register_column(:tags, field: :tag) .register_column(:types, field: :type) .install_filter_methods_on_resource(self, :table)