Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azurerm_load_balancer doesn't have tag attribute. Please add 'tags' #260

Closed
Sum123it opened this issue Jul 7, 2020 · 0 comments
Closed
Assignees

Comments

@Sum123it
Copy link

Sum123it commented Jul 7, 2020

Describe the problem

azurerm_load_balancer resource doesn't have tags property as part of attribute.
azurerm_load_balancers has this capability.
https://github.com/inspec/inspec-azure/blob/master/docs/resources/azurerm_load_balancer.md says tags is included, but it isn't.


 describe azurerm_load_balancer(resource_group: resource_group, loadbalancer_name: loadbalancer_name) do
    it                { should exist }
    its('tags')       { should exist }
end

gives below error:

×  azurerm_load_balancer: Azure Load Balancer: 'xxxxx' (1 failed)
     ✔  Azure Load Balancer: 'xxxxx' is expected to exist
     ×  Azure Load Balancer: 'xxxxx' tags
     undefined method `tags' for Azure Load Balancer: 'xxxxx':#<Class:0x000000000621c090>

Possible Solution

Please add tags attribute to azurerm_load_balancer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants