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

Add table azure_virtual_network_gateway. Closes #152 #157

Merged
merged 11 commits into from
Jul 13, 2021
Merged

Conversation

bigdatasourav
Copy link
Contributor

@bigdatasourav bigdatasourav commented Jun 30, 2021

Integration test logs

Logs

SETUP: tests/azure_virtual_network_gateway []

PRETEST: tests/azure_virtual_network_gateway

TEST: tests/azure_virtual_network_gateway
Running terraform
azurerm_resource_group.named_test_resource: Creating...
azurerm_resource_group.named_test_resource: Creation complete after 4s [id=/subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/resourceGroups/turbottest2845]
azurerm_virtual_network.named_test_resource: Creating...
azurerm_virtual_network.named_test_resource: Still creating... [10s elapsed]
azurerm_virtual_network.named_test_resource: Creation complete after 12s [id=/subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/resourceGroups/turbottest2845/providers/Microsoft.Network/virtualNetworks/turbottest2845]
azurerm_subnet.named_test_resource: Creating...
azurerm_subnet.named_test_resource: Creation complete after 4s [id=/subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/resourceGroups/turbottest2845/providers/Microsoft.Network/virtualNetworks/turbottest2845/subnets/GatewaySubnet]
azurerm_public_ip.named_test_resource: Creating...
azurerm_public_ip.named_test_resource: Creation complete after 9s [id=/subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/resourceGroups/turbottest2845/providers/Microsoft.Network/publicIPAddresses/turbottest2845]
null_resource.named_test_resource: Creating...
null_resource.named_test_resource: Provisioning with 'local-exec'...
null_resource.named_test_resource (local-exec): Executing: ["/bin/sh" "-c" "az network vnet-gateway create --gateway-type Vpn --location eastus --name turbottest2845 --no-wait --public-ip-addresses turbottest2845 --resource-group turbottest2845 --vnet turbottest2845"]
null_resource.named_test_resource: Provisioning with 'local-exec'...
null_resource.named_test_resource (local-exec): Executing: ["/bin/sh" "-c" "az network vnet-gateway show -g turbottest2845 -n turbottest2845 > /private/var/folders/d8/gsp6f_cn3359xnt_gs3cts_80000gn/T/tests/azure_virtual_network_gateway/terraform/test/info.json"]
null_resource.named_test_resource: Still creating... [10s elapsed]
null_resource.named_test_resource: Creation complete after 12s [id=7253682809614408204]
data.local_file.input: Reading...
data.local_file.input: Read complete after 0s [id=8aaa5ac277a1a9ba9c84749cc041f82283daac1b]

Warning: Deprecated Resource

The null_data_source was historically used to construct intermediate values to
re-use elsewhere in configuration, the same can now be achieved using locals


Warning: Version constraints inside provider configuration blocks are deprecated

  on variables.tf line 21, in provider "azurerm":
  21:   version         = "=1.36.0"

Terraform 0.13 and earlier allowed provider version constraints inside the
provider configuration block, but that is now deprecated and will be removed
in a future version of Terraform. To silence this warning, move the provider
version constraint into the required_providers block.


Apply complete! Resources: 5 added, 0 changed, 0 destroyed.

Outputs:

resource_aka = "azure:///subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/resourceGroups/turbottest2845/providers/Microsoft.Network/virtualNetworkGateways/turbottest2845"
resource_aka_lower = "azure:///subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/resourcegroups/turbottest2845/providers/microsoft.network/virtualnetworkgateways/turbottest2845"
resource_id = "/subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/resourceGroups/turbottest2845/providers/Microsoft.Network/virtualNetworkGateways/turbottest2845"
resource_name = "turbottest2845"
subscription_id = "d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8"

Running SQL query: test-get-query.sql
[
  {
    "enable_bgp": false,
    "id": "/subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/resourceGroups/turbottest2845/providers/Microsoft.Network/virtualNetworkGateways/turbottest2845",
    "name": "turbottest2845",
    "region": "eastus",
    "resource_group": "turbottest2845",
    "type": "Microsoft.Network/virtualNetworkGateways"
  }
]
✔ PASSED

Running SQL query: test-list-query.sql
[
  {
    "id": "/subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/resourceGroups/turbottest2845/providers/Microsoft.Network/virtualNetworkGateways/turbottest2845",
    "name": "turbottest2845"
  }
]
✔ PASSED

Running SQL query: test-not-found-query.sql
null
✔ PASSED

Running SQL query: test-turbot-query.sql
[
  {
    "akas": [
      "azure:///subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/resourceGroups/turbottest2845/providers/Microsoft.Network/virtualNetworkGateways/turbottest2845",
      "azure:///subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/resourcegroups/turbottest2845/providers/microsoft.network/virtualnetworkgateways/turbottest2845"
    ],
    "name": "turbottest2845",
    "title": "turbottest2845"
  }
]
✔ PASSED

POSTTEST: tests/azure_virtual_network_gateway
Running terraform
null_resource.delay: Creating...
null_resource.delay: Provisioning with 'local-exec'...
null_resource.delay (local-exec): Executing: ["/bin/sh" "-c" "sleep 3600"]
null_resource.delay: Still creating... [10s elapsed]
null_resource.delay: Still creating... [20s elapsed]
null_resource.delay: Still creating... [30s elapsed]
null_resource.delay: Still creating... [40s elapsed]
null_resource.delay: Still creating... [50s elapsed]
null_resource.delay: Still creating... [1m0s elapsed]
null_resource.delay: Still creating... [1m10s elapsed]
null_resource.delay: Still creating... [1m20s elapsed]
null_resource.delay: Still creating... [1m30s elapsed]
null_resource.delay: Still creating... [1m40s elapsed]
null_resource.delay: Still creating... [1m50s elapsed]
null_resource.delay: Still creating... [2m0s elapsed]
null_resource.delay: Still creating... [2m10s elapsed]
null_resource.delay: Still creating... [2m20s elapsed]
null_resource.delay: Still creating... [2m30s elapsed]
null_resource.delay: Still creating... [2m40s elapsed]
null_resource.delay: Still creating... [2m50s elapsed]
null_resource.delay: Still creating... [3m0s elapsed]
null_resource.delay: Still creating... [3m10s elapsed]
null_resource.delay: Still creating... [3m20s elapsed]
null_resource.delay: Still creating... [3m30s elapsed]
null_resource.delay: Still creating... [3m40s elapsed]
null_resource.delay: Still creating... [3m50s elapsed]
null_resource.delay: Still creating... [4m0s elapsed]
null_resource.delay: Still creating... [4m10s elapsed]
null_resource.delay: Still creating... [4m20s elapsed]
null_resource.delay: Still creating... [4m30s elapsed]
null_resource.delay: Still creating... [4m40s elapsed]
null_resource.delay: Still creating... [4m50s elapsed]
null_resource.delay: Still creating... [5m0s elapsed]
null_resource.delay: Still creating... [5m10s elapsed]
null_resource.delay: Still creating... [5m20s elapsed]
null_resource.delay: Still creating... [5m30s elapsed]
null_resource.delay: Still creating... [5m40s elapsed]
null_resource.delay: Still creating... [5m50s elapsed]
null_resource.delay: Still creating... [6m0s elapsed]
null_resource.delay: Still creating... [6m10s elapsed]
null_resource.delay: Still creating... [6m20s elapsed]
null_resource.delay: Still creating... [6m30s elapsed]
null_resource.delay: Still creating... [6m40s elapsed]
null_resource.delay: Still creating... [6m50s elapsed]
null_resource.delay: Still creating... [7m0s elapsed]
null_resource.delay: Still creating... [7m10s elapsed]
null_resource.delay: Still creating... [7m20s elapsed]
null_resource.delay: Still creating... [7m30s elapsed]
null_resource.delay: Still creating... [7m40s elapsed]
null_resource.delay: Still creating... [7m50s elapsed]
null_resource.delay: Still creating... [8m0s elapsed]
null_resource.delay: Still creating... [8m10s elapsed]
null_resource.delay: Still creating... [8m20s elapsed]
null_resource.delay: Still creating... [8m30s elapsed]
null_resource.delay: Still creating... [8m40s elapsed]
null_resource.delay: Still creating... [8m50s elapsed]
null_resource.delay: Still creating... [9m0s elapsed]
null_resource.delay: Still creating... [9m10s elapsed]
null_resource.delay: Still creating... [9m20s elapsed]
null_resource.delay: Still creating... [9m30s elapsed]
null_resource.delay: Still creating... [9m40s elapsed]
null_resource.delay: Still creating... [9m50s elapsed]
null_resource.delay: Still creating... [10m0s elapsed]
null_resource.delay: Still creating... [10m10s elapsed]
null_resource.delay: Still creating... [10m20s elapsed]
null_resource.delay: Still creating... [10m30s elapsed]
null_resource.delay: Still creating... [10m40s elapsed]
null_resource.delay: Still creating... [10m50s elapsed]
null_resource.delay: Still creating... [11m0s elapsed]
null_resource.delay: Still creating... [11m10s elapsed]
null_resource.delay: Still creating... [11m20s elapsed]
null_resource.delay: Still creating... [11m30s elapsed]
null_resource.delay: Still creating... [11m40s elapsed]
null_resource.delay: Still creating... [11m50s elapsed]
null_resource.delay: Still creating... [12m0s elapsed]
null_resource.delay: Still creating... [12m10s elapsed]
null_resource.delay: Still creating... [12m20s elapsed]
null_resource.delay: Still creating... [12m30s elapsed]
null_resource.delay: Still creating... [12m40s elapsed]
null_resource.delay: Still creating... [12m50s elapsed]
null_resource.delay: Still creating... [13m0s elapsed]
null_resource.delay: Still creating... [13m10s elapsed]
null_resource.delay: Still creating... [13m20s elapsed]
null_resource.delay: Still creating... [13m30s elapsed]
null_resource.delay: Still creating... [13m40s elapsed]
null_resource.delay: Still creating... [13m50s elapsed]
null_resource.delay: Still creating... [14m0s elapsed]
null_resource.delay: Still creating... [14m10s elapsed]
null_resource.delay: Still creating... [14m20s elapsed]
null_resource.delay: Still creating... [14m30s elapsed]
null_resource.delay: Still creating... [14m40s elapsed]
null_resource.delay: Still creating... [14m50s elapsed]
null_resource.delay: Still creating... [15m0s elapsed]
null_resource.delay: Still creating... [15m10s elapsed]
null_resource.delay: Still creating... [15m20s elapsed]
null_resource.delay: Still creating... [15m30s elapsed]
null_resource.delay: Still creating... [15m40s elapsed]
null_resource.delay: Still creating... [15m50s elapsed]
null_resource.delay: Still creating... [16m0s elapsed]
null_resource.delay: Still creating... [16m10s elapsed]
null_resource.delay: Still creating... [16m20s elapsed]
null_resource.delay: Still creating... [16m30s elapsed]
null_resource.delay: Still creating... [16m40s elapsed]
null_resource.delay: Still creating... [16m50s elapsed]
null_resource.delay: Still creating... [17m0s elapsed]
null_resource.delay: Still creating... [17m10s elapsed]
null_resource.delay: Still creating... [17m20s elapsed]
null_resource.delay: Still creating... [17m30s elapsed]
null_resource.delay: Still creating... [17m40s elapsed]
null_resource.delay: Still creating... [17m50s elapsed]
null_resource.delay: Still creating... [18m0s elapsed]
null_resource.delay: Still creating... [18m10s elapsed]
null_resource.delay: Still creating... [18m20s elapsed]
null_resource.delay: Still creating... [18m30s elapsed]
null_resource.delay: Still creating... [18m40s elapsed]
null_resource.delay: Still creating... [18m50s elapsed]
null_resource.delay: Still creating... [19m0s elapsed]
null_resource.delay: Still creating... [19m10s elapsed]
null_resource.delay: Still creating... [19m20s elapsed]
null_resource.delay: Still creating... [19m30s elapsed]
null_resource.delay: Still creating... [19m40s elapsed]
null_resource.delay: Still creating... [19m50s elapsed]
null_resource.delay: Still creating... [20m0s elapsed]
null_resource.delay: Still creating... [20m10s elapsed]
null_resource.delay: Still creating... [20m20s elapsed]
null_resource.delay: Still creating... [20m30s elapsed]
null_resource.delay: Still creating... [20m40s elapsed]
null_resource.delay: Still creating... [20m50s elapsed]
null_resource.delay: Still creating... [21m0s elapsed]
null_resource.delay: Still creating... [21m10s elapsed]
null_resource.delay: Still creating... [21m20s elapsed]
null_resource.delay: Still creating... [21m30s elapsed]
null_resource.delay: Still creating... [21m40s elapsed]
null_resource.delay: Still creating... [21m50s elapsed]
null_resource.delay: Still creating... [22m0s elapsed]
null_resource.delay: Still creating... [22m10s elapsed]
null_resource.delay: Still creating... [22m20s elapsed]
null_resource.delay: Still creating... [22m30s elapsed]
null_resource.delay: Still creating... [22m40s elapsed]
null_resource.delay: Still creating... [22m50s elapsed]
null_resource.delay: Still creating... [23m0s elapsed]
null_resource.delay: Still creating... [23m10s elapsed]
null_resource.delay: Still creating... [23m20s elapsed]
null_resource.delay: Still creating... [23m30s elapsed]
null_resource.delay: Still creating... [23m40s elapsed]
null_resource.delay: Still creating... [23m50s elapsed]
null_resource.delay: Still creating... [24m0s elapsed]
null_resource.delay: Still creating... [24m10s elapsed]
null_resource.delay: Still creating... [24m20s elapsed]
null_resource.delay: Still creating... [24m30s elapsed]
null_resource.delay: Still creating... [24m40s elapsed]
null_resource.delay: Still creating... [24m50s elapsed]
null_resource.delay: Still creating... [25m0s elapsed]
null_resource.delay: Still creating... [25m10s elapsed]
null_resource.delay: Still creating... [25m20s elapsed]
null_resource.delay: Still creating... [25m30s elapsed]
null_resource.delay: Still creating... [25m40s elapsed]
null_resource.delay: Still creating... [25m50s elapsed]
null_resource.delay: Still creating... [26m0s elapsed]
null_resource.delay: Still creating... [26m10s elapsed]
null_resource.delay: Still creating... [26m20s elapsed]
null_resource.delay: Still creating... [26m30s elapsed]
null_resource.delay: Still creating... [26m40s elapsed]
null_resource.delay: Still creating... [26m50s elapsed]
null_resource.delay: Still creating... [27m0s elapsed]
null_resource.delay: Still creating... [27m10s elapsed]
null_resource.delay: Still creating... [27m20s elapsed]
null_resource.delay: Still creating... [27m30s elapsed]
null_resource.delay: Still creating... [27m40s elapsed]
null_resource.delay: Still creating... [27m50s elapsed]
null_resource.delay: Still creating... [28m0s elapsed]
null_resource.delay: Still creating... [28m10s elapsed]
null_resource.delay: Still creating... [28m20s elapsed]
null_resource.delay: Still creating... [28m30s elapsed]
null_resource.delay: Still creating... [28m40s elapsed]
null_resource.delay: Still creating... [28m50s elapsed]
null_resource.delay: Still creating... [29m0s elapsed]
null_resource.delay: Still creating... [29m10s elapsed]
null_resource.delay: Still creating... [29m20s elapsed]
null_resource.delay: Still creating... [29m30s elapsed]
null_resource.delay: Still creating... [29m40s elapsed]
null_resource.delay: Still creating... [29m50s elapsed]
null_resource.delay: Still creating... [30m0s elapsed]
null_resource.delay: Still creating... [30m10s elapsed]
null_resource.delay: Still creating... [30m20s elapsed]
null_resource.delay: Still creating... [30m30s elapsed]
null_resource.delay: Still creating... [30m40s elapsed]
null_resource.delay: Still creating... [30m50s elapsed]
null_resource.delay: Still creating... [31m0s elapsed]
null_resource.delay: Still creating... [31m10s elapsed]
null_resource.delay: Still creating... [31m20s elapsed]
null_resource.delay: Still creating... [31m30s elapsed]
null_resource.delay: Still creating... [31m40s elapsed]
null_resource.delay: Still creating... [31m50s elapsed]
null_resource.delay: Still creating... [32m0s elapsed]
null_resource.delay: Still creating... [32m10s elapsed]
null_resource.delay: Still creating... [32m20s elapsed]
null_resource.delay: Still creating... [32m30s elapsed]
null_resource.delay: Still creating... [32m40s elapsed]
null_resource.delay: Still creating... [32m50s elapsed]
null_resource.delay: Still creating... [33m0s elapsed]
null_resource.delay: Still creating... [33m10s elapsed]
null_resource.delay: Still creating... [33m20s elapsed]
null_resource.delay: Still creating... [33m30s elapsed]
null_resource.delay: Still creating... [33m40s elapsed]
null_resource.delay: Still creating... [33m50s elapsed]
null_resource.delay: Still creating... [34m0s elapsed]
null_resource.delay: Still creating... [34m10s elapsed]
null_resource.delay: Still creating... [34m20s elapsed]
null_resource.delay: Still creating... [34m30s elapsed]
null_resource.delay: Still creating... [34m40s elapsed]
null_resource.delay: Still creating... [34m50s elapsed]
null_resource.delay: Still creating... [35m0s elapsed]
null_resource.delay: Still creating... [35m10s elapsed]
null_resource.delay: Still creating... [35m20s elapsed]
null_resource.delay: Still creating... [35m30s elapsed]
null_resource.delay: Still creating... [35m40s elapsed]
null_resource.delay: Still creating... [35m50s elapsed]
null_resource.delay: Still creating... [36m0s elapsed]
null_resource.delay: Still creating... [36m10s elapsed]
null_resource.delay: Still creating... [36m20s elapsed]
null_resource.delay: Still creating... [36m30s elapsed]
null_resource.delay: Still creating... [36m40s elapsed]
null_resource.delay: Still creating... [36m50s elapsed]
null_resource.delay: Still creating... [37m0s elapsed]
null_resource.delay: Still creating... [37m10s elapsed]
null_resource.delay: Still creating... [37m20s elapsed]
null_resource.delay: Still creating... [37m30s elapsed]
null_resource.delay: Still creating... [37m40s elapsed]
null_resource.delay: Still creating... [37m50s elapsed]
null_resource.delay: Still creating... [38m0s elapsed]
null_resource.delay: Still creating... [38m10s elapsed]
null_resource.delay: Still creating... [38m20s elapsed]
null_resource.delay: Still creating... [38m30s elapsed]
null_resource.delay: Still creating... [38m40s elapsed]
null_resource.delay: Still creating... [38m50s elapsed]
null_resource.delay: Still creating... [39m0s elapsed]
null_resource.delay: Still creating... [39m10s elapsed]
null_resource.delay: Still creating... [39m20s elapsed]
null_resource.delay: Still creating... [39m30s elapsed]
null_resource.delay: Still creating... [39m40s elapsed]
null_resource.delay: Still creating... [39m50s elapsed]
null_resource.delay: Still creating... [40m0s elapsed]
null_resource.delay: Still creating... [40m10s elapsed]
null_resource.delay: Still creating... [40m20s elapsed]
null_resource.delay: Still creating... [40m30s elapsed]
null_resource.delay: Still creating... [40m40s elapsed]
null_resource.delay: Still creating... [40m50s elapsed]
null_resource.delay: Still creating... [41m0s elapsed]
null_resource.delay: Still creating... [41m10s elapsed]
null_resource.delay: Still creating... [41m20s elapsed]
null_resource.delay: Still creating... [41m30s elapsed]
null_resource.delay: Still creating... [41m40s elapsed]
null_resource.delay: Still creating... [41m50s elapsed]
null_resource.delay: Still creating... [42m0s elapsed]
null_resource.delay: Still creating... [42m10s elapsed]
null_resource.delay: Still creating... [42m20s elapsed]
null_resource.delay: Still creating... [42m30s elapsed]
null_resource.delay: Still creating... [42m40s elapsed]
null_resource.delay: Still creating... [42m50s elapsed]
null_resource.delay: Still creating... [43m0s elapsed]
null_resource.delay: Still creating... [43m10s elapsed]
null_resource.delay: Still creating... [43m20s elapsed]
null_resource.delay: Still creating... [43m30s elapsed]
null_resource.delay: Still creating... [43m40s elapsed]
null_resource.delay: Still creating... [43m50s elapsed]
null_resource.delay: Still creating... [44m0s elapsed]
null_resource.delay: Still creating... [44m10s elapsed]
null_resource.delay: Still creating... [44m20s elapsed]
null_resource.delay: Still creating... [44m30s elapsed]
null_resource.delay: Still creating... [44m40s elapsed]
null_resource.delay: Still creating... [44m50s elapsed]
null_resource.delay: Still creating... [45m0s elapsed]
null_resource.delay: Still creating... [45m10s elapsed]
null_resource.delay: Still creating... [45m20s elapsed]
null_resource.delay: Still creating... [45m30s elapsed]
null_resource.delay: Still creating... [45m40s elapsed]
null_resource.delay: Still creating... [45m50s elapsed]
null_resource.delay: Still creating... [46m0s elapsed]
null_resource.delay: Still creating... [46m10s elapsed]
null_resource.delay: Still creating... [46m20s elapsed]
null_resource.delay: Still creating... [46m30s elapsed]
null_resource.delay: Still creating... [46m40s elapsed]
null_resource.delay: Still creating... [46m50s elapsed]
null_resource.delay: Still creating... [47m0s elapsed]
null_resource.delay: Still creating... [47m10s elapsed]
null_resource.delay: Still creating... [47m20s elapsed]
null_resource.delay: Still creating... [47m30s elapsed]
null_resource.delay: Still creating... [47m40s elapsed]
null_resource.delay: Still creating... [47m50s elapsed]
null_resource.delay: Still creating... [48m0s elapsed]
null_resource.delay: Still creating... [48m10s elapsed]
null_resource.delay: Still creating... [48m20s elapsed]
null_resource.delay: Still creating... [48m30s elapsed]
null_resource.delay: Still creating... [48m40s elapsed]
null_resource.delay: Still creating... [48m50s elapsed]
null_resource.delay: Still creating... [49m0s elapsed]
null_resource.delay: Still creating... [49m10s elapsed]
null_resource.delay: Still creating... [49m20s elapsed]
null_resource.delay: Still creating... [49m30s elapsed]
null_resource.delay: Still creating... [49m40s elapsed]
null_resource.delay: Still creating... [49m50s elapsed]
null_resource.delay: Still creating... [50m0s elapsed]
null_resource.delay: Still creating... [50m10s elapsed]
null_resource.delay: Still creating... [50m21s elapsed]
null_resource.delay: Still creating... [50m31s elapsed]
null_resource.delay: Still creating... [50m41s elapsed]
null_resource.delay: Still creating... [50m51s elapsed]
null_resource.delay: Still creating... [51m1s elapsed]
null_resource.delay: Still creating... [51m11s elapsed]
null_resource.delay: Still creating... [51m21s elapsed]
null_resource.delay: Still creating... [51m31s elapsed]
null_resource.delay: Still creating... [51m41s elapsed]
null_resource.delay: Still creating... [51m51s elapsed]
null_resource.delay: Still creating... [52m1s elapsed]
null_resource.delay: Still creating... [52m11s elapsed]
null_resource.delay: Still creating... [52m21s elapsed]
null_resource.delay: Still creating... [52m31s elapsed]
null_resource.delay: Still creating... [52m41s elapsed]
null_resource.delay: Still creating... [52m51s elapsed]
null_resource.delay: Still creating... [53m1s elapsed]
null_resource.delay: Still creating... [53m11s elapsed]
null_resource.delay: Still creating... [53m21s elapsed]
null_resource.delay: Still creating... [53m31s elapsed]
null_resource.delay: Still creating... [53m41s elapsed]
null_resource.delay: Still creating... [53m51s elapsed]
null_resource.delay: Still creating... [59m55s elapsed]
null_resource.delay: Still creating... [1h0m5s elapsed]
null_resource.delay: Still creating... [1h0m16s elapsed]
null_resource.delay: Still creating... [1h0m26s elapsed]
null_resource.delay: Still creating... [1h0m36s elapsed]
null_resource.delay: Still creating... [1h0m46s elapsed]
null_resource.delay: Still creating... [1h0m56s elapsed]
null_resource.delay: Still creating... [1h1m6s elapsed]
null_resource.delay: Still creating... [1h1m16s elapsed]
null_resource.delay: Still creating... [1h1m26s elapsed]
null_resource.delay: Still creating... [1h1m36s elapsed]
null_resource.delay: Still creating... [1h1m46s elapsed]
null_resource.delay: Still creating... [1h1m56s elapsed]
null_resource.delay: Still creating... [1h2m6s elapsed]
null_resource.delay: Still creating... [1h2m16s elapsed]
null_resource.delay: Still creating... [1h2m26s elapsed]
null_resource.delay: Still creating... [1h2m36s elapsed]
null_resource.delay: Still creating... [1h2m46s elapsed]
null_resource.delay: Still creating... [1h2m56s elapsed]
null_resource.delay: Still creating... [1h3m6s elapsed]
null_resource.delay: Still creating... [1h3m16s elapsed]
null_resource.delay: Still creating... [1h3m26s elapsed]
null_resource.delay: Still creating... [1h3m36s elapsed]
null_resource.delay: Still creating... [1h3m46s elapsed]
null_resource.delay: Still creating... [1h3m56s elapsed]
null_resource.delay: Still creating... [1h4m6s elapsed]
null_resource.delay: Still creating... [1h4m16s elapsed]
null_resource.delay: Still creating... [1h4m26s elapsed]
null_resource.delay: Still creating... [1h4m36s elapsed]
null_resource.delay: Still creating... [1h4m46s elapsed]
null_resource.delay: Still creating... [1h4m56s elapsed]
null_resource.delay: Still creating... [1h5m6s elapsed]
null_resource.delay: Still creating... [1h5m16s elapsed]
null_resource.delay: Still creating... [1h5m26s elapsed]
null_resource.delay: Still creating... [1h5m36s elapsed]
null_resource.delay: Still creating... [1h5m46s elapsed]
null_resource.delay: Creation complete after 1h5m54s [id=2321194406815294342]
null_resource.named_test_resource: Creating...
null_resource.named_test_resource: Provisioning with 'local-exec'...
null_resource.named_test_resource (local-exec): Executing: ["/bin/sh" "-c" "az network vnet-gateway delete -g turbottest2845 -n turbottest2845"]
null_resource.named_test_resource: Still creating... [10s elapsed]
null_resource.named_test_resource: Still creating... [20s elapsed]
null_resource.named_test_resource: Still creating... [30s elapsed]
null_resource.named_test_resource: Still creating... [40s elapsed]
null_resource.named_test_resource: Still creating... [50s elapsed]
null_resource.named_test_resource: Still creating... [1m0s elapsed]
null_resource.named_test_resource: Still creating... [1m10s elapsed]
null_resource.named_test_resource: Still creating... [1m20s elapsed]
null_resource.named_test_resource: Still creating... [1m30s elapsed]
null_resource.named_test_resource: Still creating... [1m40s elapsed]
null_resource.named_test_resource: Still creating... [1m50s elapsed]
null_resource.named_test_resource: Still creating... [2m0s elapsed]
null_resource.named_test_resource: Still creating... [2m10s elapsed]
null_resource.named_test_resource: Still creating... [2m20s elapsed]
null_resource.named_test_resource: Still creating... [2m30s elapsed]
null_resource.named_test_resource: Still creating... [2m40s elapsed]
null_resource.named_test_resource: Still creating... [2m50s elapsed]
null_resource.named_test_resource: Still creating... [3m0s elapsed]
null_resource.named_test_resource: Still creating... [3m10s elapsed]
null_resource.named_test_resource: Still creating... [3m20s elapsed]
null_resource.named_test_resource: Still creating... [3m30s elapsed]
null_resource.named_test_resource: Still creating... [3m40s elapsed]
null_resource.named_test_resource: Still creating... [3m50s elapsed]
null_resource.named_test_resource: Still creating... [4m0s elapsed]
null_resource.named_test_resource: Still creating... [4m10s elapsed]
null_resource.named_test_resource: Still creating... [4m20s elapsed]
null_resource.named_test_resource: Still creating... [4m30s elapsed]
null_resource.named_test_resource: Still creating... [4m40s elapsed]
null_resource.named_test_resource: Still creating... [4m50s elapsed]
null_resource.named_test_resource: Still creating... [5m0s elapsed]
null_resource.named_test_resource: Still creating... [5m10s elapsed]
null_resource.named_test_resource: Still creating... [5m20s elapsed]
null_resource.named_test_resource: Still creating... [5m30s elapsed]
null_resource.named_test_resource: Still creating... [5m40s elapsed]
null_resource.named_test_resource: Still creating... [5m51s elapsed]
null_resource.named_test_resource: Still creating... [6m1s elapsed]
null_resource.named_test_resource: Still creating... [6m11s elapsed]
null_resource.named_test_resource: Still creating... [6m21s elapsed]
null_resource.named_test_resource: Still creating... [6m31s elapsed]
null_resource.named_test_resource: Still creating... [6m41s elapsed]
null_resource.named_test_resource: Still creating... [6m51s elapsed]
null_resource.named_test_resource: Creation complete after 6m54s [id=6486280466608483291]

Warning: Deprecated Resource

The null_data_source was historically used to construct intermediate values to
re-use elsewhere in configuration, the same can now be achieved using locals


Warning: Version constraints inside provider configuration blocks are deprecated

  on posttest-variables.tf line 21, in provider "azurerm":
  21:   version         = "=1.36.0"

Terraform 0.13 and earlier allowed provider version constraints inside the
provider configuration block, but that is now deprecated and will be removed
in a future version of Terraform. To silence this warning, move the provider
version constraint into the required_providers block.


Apply complete! Resources: 2 added, 0 changed, 0 destroyed.

TEARDOWN: tests/azure_virtual_network_gateway


SUMMARY:

1/1 passed.

Example query results

Results
> select
	name,
	id,
	enable_bgp,
	region,
	resource_group
from
	azure_virtual_network_gateway
+-----------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+------------+--------+-----------
| name            | id                                                                                                                                                    | enable_bgp | region | resource_g
+-----------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+------------+--------+-----------
| turbottest59037 | /subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/resourceGroups/turbottest59037/providers/Microsoft.Network/virtualNetworkGateways/turbottest59037 | false      | eastus | turbottest
| turbottest70327 | /subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/resourceGroups/turbottest70327/providers/Microsoft.Network/virtualNetworkGateways/turbottest70327 | false      | eastus | turbottest
| testw           | /subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/resourceGroups/turbot_rg/providers/Microsoft.Network/virtualNetworkGateways/testw                 | false      | westus | turbot_rg 
| turbottest1152  | /subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/resourceGroups/turbottest1152/providers/Microsoft.Network/virtualNetworkGateways/turbottest1152   | false      | eastus | turbottest
+-----------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+------------+--------+-----------

 select
  name,
  id,
  enable_bgp,
  region,
  resource_group
from
  azure_virtual_network_gateway
where
   gateway_connection is null;
+-----------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+------------+--------+-----------
| name            | id                                                                                                                                                    | enable_bgp | region | resource_g
+-----------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+------------+--------+-----------
| turbottest1152  | /subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/resourceGroups/turbottest1152/providers/Microsoft.Network/virtualNetworkGateways/turbottest1152   | false      | eastus | turbottest
| turbottest70327 | /subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/resourceGroups/turbottest70327/providers/Microsoft.Network/virtualNetworkGateways/turbottest70327 | false      | eastus | turbottest
| turbottest59037 | /subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/resourceGroups/turbottest59037/providers/Microsoft.Network/virtualNetworkGateways/turbottest59037 | false      | eastus | turbottest
+-----------------+-------------------------------------------------------------------------------------------------------------------------------------------------------+------------+--------+-----------

@bigdatasourav bigdatasourav self-assigned this Jun 30, 2021
@bigdatasourav bigdatasourav linked an issue Jun 30, 2021 that may be closed by this pull request
@cbruno10 cbruno10 requested a review from Subhajit97 June 30, 2021 16:03
Copy link
Contributor

@Subhajit97 Subhajit97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bigdatasourav Recheck integration test, to delete the resource after test.

@bigdatasourav bigdatasourav requested a review from Subhajit97 July 8, 2021 09:47
@Subhajit97 Subhajit97 requested a review from rajlearner17 July 9, 2021 09:23
Copy link
Contributor

@rajlearner17 rajlearner17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bigdatasourav bigdatasourav requested a review from cbruno10 July 9, 2021 09:29
@cbruno10 cbruno10 merged commit 048bce9 into main Jul 13, 2021
@cbruno10 cbruno10 deleted the issue-152 branch July 13, 2021 17:46
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

Successfully merging this pull request may close these issues.

Add table azure_virtual_network_gateway
4 participants