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

Same virtual network gateways getting upserted 2 times in the table azure_virtual_network_gateway. #180

Closed
debabrat-git opened this issue Jul 14, 2021 · 0 comments · Fixed by #181
Assignees
Labels
bug Something isn't working priority:high This issue requires immediate attention

Comments

@debabrat-git
Copy link

debabrat-git commented Jul 14, 2021

Describe the bug
Duplicate record gets upserted for each gateway.

> select * from azure_virtual_network_gateway;
+--------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------
| name               | id                                                                                                                                                  | type                                   
+--------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------
| test               | /subscriptions/d077e537-71c8-4d6e-ae26-56019ef569e2/resourceGroups/debu-test1/providers/Microsoft.Network/virtualNetworkGateways/test               | Microsoft.Network/virtualNetworkGateway
| express-route-test | /subscriptions/d077e537-71c8-4d6e-ae26-56019ef569e2/resourceGroups/debu-test1/providers/Microsoft.Network/virtualNetworkGateways/express-route-test | Microsoft.Network/virtualNetworkGateway
| test               | /subscriptions/d077e537-71c8-4d6e-ae26-56019ef569e2/resourceGroups/debu-test1/providers/Microsoft.Network/virtualNetworkGateways/test               | Microsoft.Network/virtualNetworkGateway
| express-route-test | /subscriptions/d077e537-71c8-4d6e-ae26-56019ef569e2/resourceGroups/debu-test1/providers/Microsoft.Network/virtualNetworkGateways/express-route-test | Microsoft.Network/virtualNetworkGateway
+--------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------
(END)

Steampipe version (steampipe -v)
Example: v0.6.2

Plugin version (steampipe plugin list)
Azure: v0.12.0

To reproduce
Steps to reproduce the behavior (please include relevant code and/or commands).

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

@debabrat-git debabrat-git added bug Something isn't working priority:high This issue requires immediate attention labels Jul 14, 2021
@debabrat-git debabrat-git changed the title Same virtual network gateways getting upserted 2 times in the table azure_virtual_network_gateway table. Same virtual network gateways getting upserted 2 times in the table azure_virtual_network_gateway. Jul 14, 2021
cbruno10 pushed a commit that referenced this issue Jul 15, 2021
…s to prevent duplicate rows in azure_virtual_network_gateway table closes #180 (#181)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority:high This issue requires immediate attention
Projects
None yet
2 participants