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 developer_portal_url, disable_gateway, enable_client_certificate, api_version_constraint, certificates, custom_properties, identity_user_assigned_identities, virtual_network_type, restore, scm_url, zones and diagnostic_settings columns to the table azure_api_management. Closes #292 #336

Merged
merged 5 commits into from
Sep 29, 2021

Conversation

c0d3r-arnab
Copy link
Contributor

@c0d3r-arnab c0d3r-arnab commented Sep 23, 2021

Integration test logs

Logs
arnab@turbotindias-MacBook-Pro azure-test % ./tint.js azure_api_management                                                                                            
No env file present for the current environment:  staging 
 Falling back to .env config
No env file present for the current environment:  staging
customEnv TURBOT_TEST_EXPECTED_TIMEOUT undefined

SETUP: tests/azure_api_management []

PRETEST: tests/azure_api_management

TEST: tests/azure_api_management
Running terraform

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # azurerm_api_management.named_test_resource will be created
  + resource "azurerm_api_management" "named_test_resource" {
      + client_certificate_enabled = false
      + developer_portal_url       = (known after apply)
      + gateway_disabled           = false
      + gateway_regional_url       = (known after apply)
      + gateway_url                = (known after apply)
      + id                         = (known after apply)
      + location                   = "westeurope"
      + management_api_url         = (known after apply)
      + name                       = "turbottest89748"
      + notification_sender_email  = (known after apply)
      + policy                     = (known after apply)
      + portal_url                 = (known after apply)
      + private_ip_addresses       = (known after apply)
      + public_ip_addresses        = (known after apply)
      + publisher_email            = "[email protected]"
      + publisher_name             = "TurbotHQ"
      + resource_group_name        = "turbottest89748"
      + scm_url                    = (known after apply)
      + sku_name                   = "Developer_1"
      + virtual_network_type       = "None"

      + hostname_configuration {
          + developer_portal {
              + certificate                     = (sensitive value)
              + certificate_password            = (sensitive value)
              + expiry                          = (known after apply)
              + host_name                       = (known after apply)
              + key_vault_id                    = (known after apply)
              + negotiate_client_certificate    = (known after apply)
              + ssl_keyvault_identity_client_id = (known after apply)
              + subject                         = (known after apply)
              + thumbprint                      = (known after apply)
            }

          + management {
              + certificate                     = (sensitive value)
              + certificate_password            = (sensitive value)
              + expiry                          = (known after apply)
              + host_name                       = (known after apply)
              + key_vault_id                    = (known after apply)
              + negotiate_client_certificate    = (known after apply)
              + ssl_keyvault_identity_client_id = (known after apply)
              + subject                         = (known after apply)
              + thumbprint                      = (known after apply)
            }

          + portal {
              + certificate                     = (sensitive value)
              + certificate_password            = (sensitive value)
              + expiry                          = (known after apply)
              + host_name                       = (known after apply)
              + key_vault_id                    = (known after apply)
              + negotiate_client_certificate    = (known after apply)
              + ssl_keyvault_identity_client_id = (known after apply)
              + subject                         = (known after apply)
              + thumbprint                      = (known after apply)
            }

          + proxy {
              + certificate                     = (sensitive value)
              + certificate_password            = (sensitive value)
              + default_ssl_binding             = (known after apply)
              + expiry                          = (known after apply)
              + host_name                       = (known after apply)
              + key_vault_id                    = (known after apply)
              + negotiate_client_certificate    = (known after apply)
              + ssl_keyvault_identity_client_id = (known after apply)
              + subject                         = (known after apply)
              + thumbprint                      = (known after apply)
            }

          + scm {
              + certificate                     = (sensitive value)
              + certificate_password            = (sensitive value)
              + expiry                          = (known after apply)
              + host_name                       = (known after apply)
              + key_vault_id                    = (known after apply)
              + negotiate_client_certificate    = (known after apply)
              + ssl_keyvault_identity_client_id = (known after apply)
              + subject                         = (known after apply)
              + thumbprint                      = (known after apply)
            }
        }

      + protocols {
          + enable_http2 = (known after apply)
        }

      + security {
          + enable_backend_ssl30                                = (known after apply)
          + enable_backend_tls10                                = (known after apply)
          + enable_backend_tls11                                = (known after apply)
          + enable_frontend_ssl30                               = (known after apply)
          + enable_frontend_tls10                               = (known after apply)
          + enable_frontend_tls11                               = (known after apply)
          + enable_triple_des_ciphers                           = (known after apply)
          + tls_ecdhe_ecdsa_with_aes128_cbc_sha_ciphers_enabled = (known after apply)
          + tls_ecdhe_ecdsa_with_aes256_cbc_sha_ciphers_enabled = (known after apply)
          + tls_ecdhe_rsa_with_aes128_cbc_sha_ciphers_enabled   = (known after apply)
          + tls_ecdhe_rsa_with_aes256_cbc_sha_ciphers_enabled   = (known after apply)
          + tls_rsa_with_aes128_cbc_sha256_ciphers_enabled      = (known after apply)
          + tls_rsa_with_aes128_cbc_sha_ciphers_enabled         = (known after apply)
          + tls_rsa_with_aes128_gcm_sha256_ciphers_enabled      = (known after apply)
          + tls_rsa_with_aes256_cbc_sha256_ciphers_enabled      = (known after apply)
          + tls_rsa_with_aes256_cbc_sha_ciphers_enabled         = (known after apply)
          + triple_des_ciphers_enabled                          = (known after apply)
        }

      + sign_in {
          + enabled = (known after apply)
        }

      + sign_up {
          + enabled = (known after apply)

          + terms_of_service {
              + consent_required = (known after apply)
              + enabled          = (known after apply)
              + text             = (known after apply)
            }
        }

      + tenant_access {
          + enabled       = (known after apply)
          + primary_key   = (sensitive value)
          + secondary_key = (sensitive value)
          + tenant_id     = (known after apply)
        }
    }

  # azurerm_resource_group.named_test_resource will be created
  + resource "azurerm_resource_group" "named_test_resource" {
      + id       = (known after apply)
      + location = "westeurope"
      + name     = "turbottest89748"
    }

Plan: 2 to add, 0 to change, 0 to destroy.

Changes to Outputs:
  + region             = "westeurope"
  + resource_aka       = (known after apply)
  + resource_aka_lower = (known after apply)
  + resource_id        = (known after apply)
  + resource_name      = "turbottest89748"
  + subscription_id    = "d46d7416-f95f-4771-bbb5-529d4c76659c"
azurerm_resource_group.named_test_resource: Creating...
azurerm_resource_group.named_test_resource: Creation complete after 3s [id=/subscriptions/d46d7416-f95f-4771-bbb5-529d4c76659c/resourceGroups/turbottest89748]
azurerm_api_management.named_test_resource: Creating...
azurerm_api_management.named_test_resource: Still creating... [10s elapsed]
azurerm_api_management.named_test_resource: Still creating... [20s elapsed]
azurerm_api_management.named_test_resource: Still creating... [30s elapsed]
azurerm_api_management.named_test_resource: Still creating... [40s elapsed]
azurerm_api_management.named_test_resource: Still creating... [50s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1m0s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1m10s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1m20s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1m30s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1m40s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1m50s elapsed]
azurerm_api_management.named_test_resource: Still creating... [2m0s elapsed]
azurerm_api_management.named_test_resource: Still creating... [2m10s elapsed]
azurerm_api_management.named_test_resource: Still creating... [2m20s elapsed]
azurerm_api_management.named_test_resource: Still creating... [2m30s elapsed]
azurerm_api_management.named_test_resource: Still creating... [2m40s elapsed]
azurerm_api_management.named_test_resource: Still creating... [2m50s elapsed]
azurerm_api_management.named_test_resource: Still creating... [3m0s elapsed]
azurerm_api_management.named_test_resource: Still creating... [3m10s elapsed]
azurerm_api_management.named_test_resource: Still creating... [3m20s elapsed]
azurerm_api_management.named_test_resource: Still creating... [3m30s elapsed]
azurerm_api_management.named_test_resource: Still creating... [3m40s elapsed]
azurerm_api_management.named_test_resource: Still creating... [3m50s elapsed]
azurerm_api_management.named_test_resource: Still creating... [4m0s elapsed]
azurerm_api_management.named_test_resource: Still creating... [4m10s elapsed]
azurerm_api_management.named_test_resource: Still creating... [4m20s elapsed]
azurerm_api_management.named_test_resource: Still creating... [4m30s elapsed]
azurerm_api_management.named_test_resource: Still creating... [4m40s elapsed]
azurerm_api_management.named_test_resource: Still creating... [4m50s elapsed]
azurerm_api_management.named_test_resource: Still creating... [5m0s elapsed]
azurerm_api_management.named_test_resource: Still creating... [5m10s elapsed]
azurerm_api_management.named_test_resource: Still creating... [5m20s elapsed]
azurerm_api_management.named_test_resource: Still creating... [5m30s elapsed]
azurerm_api_management.named_test_resource: Still creating... [5m40s elapsed]
azurerm_api_management.named_test_resource: Still creating... [5m50s elapsed]
azurerm_api_management.named_test_resource: Still creating... [6m0s elapsed]
azurerm_api_management.named_test_resource: Still creating... [6m10s elapsed]
azurerm_api_management.named_test_resource: Still creating... [6m20s elapsed]
azurerm_api_management.named_test_resource: Still creating... [6m30s elapsed]
azurerm_api_management.named_test_resource: Still creating... [6m40s elapsed]
azurerm_api_management.named_test_resource: Still creating... [6m50s elapsed]
azurerm_api_management.named_test_resource: Still creating... [7m0s elapsed]
azurerm_api_management.named_test_resource: Still creating... [7m10s elapsed]
azurerm_api_management.named_test_resource: Still creating... [7m20s elapsed]
azurerm_api_management.named_test_resource: Still creating... [7m30s elapsed]
azurerm_api_management.named_test_resource: Still creating... [7m40s elapsed]
azurerm_api_management.named_test_resource: Still creating... [7m50s elapsed]
azurerm_api_management.named_test_resource: Still creating... [8m0s elapsed]
azurerm_api_management.named_test_resource: Still creating... [8m10s elapsed]
azurerm_api_management.named_test_resource: Still creating... [8m20s elapsed]
azurerm_api_management.named_test_resource: Still creating... [8m30s elapsed]
azurerm_api_management.named_test_resource: Still creating... [8m40s elapsed]
azurerm_api_management.named_test_resource: Still creating... [8m50s elapsed]
azurerm_api_management.named_test_resource: Still creating... [9m0s elapsed]
azurerm_api_management.named_test_resource: Still creating... [9m10s elapsed]
azurerm_api_management.named_test_resource: Still creating... [9m20s elapsed]
azurerm_api_management.named_test_resource: Still creating... [9m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [9m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [9m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [10m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [10m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [10m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [10m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [10m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [10m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [11m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [11m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [11m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [11m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [11m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [11m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [12m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [12m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [12m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [12m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [12m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [12m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [13m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [13m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [13m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [13m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [13m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [13m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [14m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [14m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [14m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [14m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [14m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [14m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [15m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [15m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [15m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [15m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [15m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [15m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [16m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [16m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [16m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [16m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [16m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [16m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [17m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [17m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [17m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [17m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [17m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [17m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [18m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [18m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [18m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [18m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [18m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [18m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [19m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [19m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [19m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [19m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [19m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [19m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [20m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [20m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [20m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [20m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [20m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [20m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [21m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [21m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [21m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [21m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [21m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [21m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [22m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [22m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [22m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [22m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [22m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [22m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [23m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [23m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [23m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [23m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [23m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [23m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [24m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [24m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [24m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [24m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [24m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [24m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [25m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [25m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [25m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [25m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [25m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [25m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [26m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [26m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [26m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [26m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [26m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [26m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [27m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [27m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [27m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [27m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [27m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [27m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [28m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [28m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [28m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [28m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [28m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [28m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [29m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [29m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [29m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [29m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [29m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [29m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [30m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [30m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [30m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [30m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [30m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [30m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [31m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [31m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [31m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [31m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [31m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [31m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [32m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [32m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [32m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [32m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [32m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [32m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [33m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [33m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [33m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [33m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [33m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [33m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [34m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [34m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [34m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [34m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [34m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [34m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [35m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [35m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [35m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [35m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [35m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [35m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [36m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [36m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [36m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [36m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [36m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [36m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [37m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [37m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [37m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [37m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [37m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [37m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [38m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [38m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [38m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [38m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [38m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [38m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [39m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [39m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [39m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [39m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [39m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [39m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [40m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [40m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [40m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [40m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [40m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [40m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [41m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [41m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [41m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [41m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [41m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [41m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [42m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [42m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [42m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [42m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [42m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [42m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [43m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [43m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [43m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [43m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [43m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [43m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [44m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [44m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [44m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [44m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [44m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [44m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [45m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [45m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [45m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [45m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [45m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [45m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [46m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [46m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [46m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [46m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [46m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [46m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [47m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [47m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [47m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [47m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [47m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [47m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [48m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [48m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [48m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [48m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [48m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [48m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [49m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [49m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [49m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [49m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [49m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [49m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [50m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [50m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [50m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [50m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [50m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [50m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [51m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [51m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [51m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [51m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [51m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [51m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [52m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [52m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [52m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [52m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [52m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [52m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [53m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [53m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [53m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [53m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [53m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [53m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [54m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [54m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [54m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [54m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [54m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [54m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [55m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [55m11s elapsed]
azurerm_api_management.named_test_resource: Still creating... [55m21s elapsed]
azurerm_api_management.named_test_resource: Still creating... [55m31s elapsed]
azurerm_api_management.named_test_resource: Still creating... [55m41s elapsed]
azurerm_api_management.named_test_resource: Still creating... [55m51s elapsed]
azurerm_api_management.named_test_resource: Still creating... [56m1s elapsed]
azurerm_api_management.named_test_resource: Still creating... [56m12s elapsed]
azurerm_api_management.named_test_resource: Still creating... [56m22s elapsed]
azurerm_api_management.named_test_resource: Still creating... [56m32s elapsed]
azurerm_api_management.named_test_resource: Still creating... [56m42s elapsed]
azurerm_api_management.named_test_resource: Still creating... [56m52s elapsed]
azurerm_api_management.named_test_resource: Still creating... [57m2s elapsed]
azurerm_api_management.named_test_resource: Still creating... [57m12s elapsed]
azurerm_api_management.named_test_resource: Still creating... [57m22s elapsed]
azurerm_api_management.named_test_resource: Still creating... [57m32s elapsed]
azurerm_api_management.named_test_resource: Still creating... [57m42s elapsed]
azurerm_api_management.named_test_resource: Still creating... [57m52s elapsed]
azurerm_api_management.named_test_resource: Still creating... [58m2s elapsed]
azurerm_api_management.named_test_resource: Still creating... [58m12s elapsed]
azurerm_api_management.named_test_resource: Still creating... [58m22s elapsed]
azurerm_api_management.named_test_resource: Still creating... [58m32s elapsed]
azurerm_api_management.named_test_resource: Still creating... [58m42s elapsed]
azurerm_api_management.named_test_resource: Still creating... [58m52s elapsed]
azurerm_api_management.named_test_resource: Still creating... [59m2s elapsed]
azurerm_api_management.named_test_resource: Still creating... [59m12s elapsed]
azurerm_api_management.named_test_resource: Still creating... [59m22s elapsed]
azurerm_api_management.named_test_resource: Still creating... [59m32s elapsed]
azurerm_api_management.named_test_resource: Still creating... [59m42s elapsed]
azurerm_api_management.named_test_resource: Still creating... [59m52s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h0m2s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h0m12s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h0m22s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h0m32s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h0m42s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h0m52s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h1m2s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h1m12s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h1m22s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h1m32s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h1m42s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h1m52s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h2m2s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h2m12s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h2m22s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h2m32s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h2m42s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h2m52s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h3m2s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h3m12s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h3m22s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h3m32s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h3m42s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h3m52s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h4m2s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h4m12s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h4m22s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h4m32s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h4m42s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h4m52s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h5m2s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h5m12s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h5m22s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h5m32s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h5m42s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h5m52s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h6m2s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h6m12s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h6m22s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h6m32s elapsed]
azurerm_api_management.named_test_resource: Still creating... [1h6m42s elapsed]
azurerm_api_management.named_test_resource: Creation complete after 1h6m49s [id=/subscriptions/d46d7416-f95f-4771-bbb5-529d4c76659c/resourceGroups/turbottest89748/providers/Microsoft.ApiManagement/service/turbottest89748]

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

Outputs:

region = "westeurope"
resource_aka = "azure:///subscriptions/d46d7416-f95f-4771-bbb5-529d4c76659c/resourceGroups/turbottest89748/providers/Microsoft.ApiManagement/service/turbottest89748"
resource_aka_lower = "azure:///subscriptions/d46d7416-f95f-4771-bbb5-529d4c76659c/resourcegroups/turbottest89748/providers/microsoft.apimanagement/service/turbottest89748"
resource_id = "/subscriptions/d46d7416-f95f-4771-bbb5-529d4c76659c/resourceGroups/turbottest89748/providers/Microsoft.ApiManagement/service/turbottest89748"
resource_name = "turbottest89748"
subscription_id = "d46d7416-f95f-4771-bbb5-529d4c76659c"

Running SQL query: test-get-query.sql
[
  {
    "id": "/subscriptions/d46d7416-f95f-4771-bbb5-529d4c76659c/resourceGroups/turbottest89748/providers/Microsoft.ApiManagement/service/turbottest89748",
    "name": "turbottest89748",
    "publisher_email": "[email protected]",
    "publisher_name": "TurbotHQ",
    "region": "westeurope",
    "sku_capacity": 1,
    "sku_name": "Developer",
    "type": "Microsoft.ApiManagement/service"
  }
]
✔ PASSED

Running SQL query: test-hydrate-query.sql
[
  {
    "name": "turbottest89748",
    "sku_name": "Developer"
  }
]
✔ PASSED

Running SQL query: test-list-query.sql
[
  {
    "id": "/subscriptions/d46d7416-f95f-4771-bbb5-529d4c76659c/resourceGroups/turbottest89748/providers/Microsoft.ApiManagement/service/turbottest89748",
    "name": "turbottest89748"
  }
]
✔ PASSED

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

Running SQL query: test-turbot-query.sql
[
  {
    "akas": [
      "azure:///subscriptions/d46d7416-f95f-4771-bbb5-529d4c76659c/resourceGroups/turbottest89748/providers/Microsoft.ApiManagement/service/turbottest89748",
      "azure:///subscriptions/d46d7416-f95f-4771-bbb5-529d4c76659c/resourcegroups/turbottest89748/providers/microsoft.apimanagement/service/turbottest89748"
    ],
    "name": "turbottest89748",
    "title": "turbottest89748"
  }
]
✔ PASSED

POSTTEST: tests/azure_api_management

TEARDOWN: tests/azure_api_management

SUMMARY:

1/1 passed.

Example query results

New columns added: developer_portal_url, disable_gateway, enable_client_certificate, api_version_constraint, certificates, custom_properties, diagnostic_settings, identity_user_assigned_identities, zones, virtual_network_type, restore, scm_url.

Results
> select
  name,
  public_ip_addresses,
  private_ip_addresses
from
  azure_api_management;
+---------------------+---------------------+----------------------+
| name                | public_ip_addresses | private_ip_addresses |
+---------------------+---------------------+----------------------+
| turbottest59920     | <null>              | <null>               |
| my-api-management-1 | ["40.122.76.208"]   | <null>               |
+---------------------+---------------------+----------------------+
> select
  name,
  publisher_name,
  publisher_email
from
  azure_api_management;
+---------------------+-------------------+------------------+
| name                | publisher_name    | publisher_email  |
+---------------------+-------------------+------------------+
| turbottest59920     | TurbotHQ          | [email protected]  |
| my-api-management-1 | test-organization | [email protected] |
+---------------------+-------------------+------------------+
> select
  name,
  sku_name,
  sku_capacity
from
  azure_api_management
where
  sku_name = 'Premium';
+------+----------+--------------+
| name | sku_name | sku_capacity |
+------+----------+--------------+
+------+----------+--------------+
> select
  name,
  tags
from
  azure_api_management
where
  not tags :: JSONB ? 'application';
+---------------------+-----------------------------------+
| name                | tags                              |
+---------------------+-----------------------------------+
| turbottest59920     | {"name":"turbottest59920"}        |
| my-api-management-1 | {"test-tag-key":"test-tag-value"} |
+---------------------+-----------------------------------+
>

@c0d3r-arnab c0d3r-arnab self-assigned this Sep 23, 2021
@c0d3r-arnab c0d3r-arnab linked an issue Sep 23, 2021 that may be closed by this pull request
@c0d3r-arnab c0d3r-arnab changed the title Update table azure_api_management. Closes #292 Add virtualNetworkType column to the table azure_api_management. Closes #292 Sep 24, 2021
@bigdatasourav bigdatasourav changed the title Add virtualNetworkType column to the table azure_api_management. Closes #292 Add virtual_network_type and diagnostic_settings column to the table azure_api_management. Closes #292 Sep 29, 2021
Copy link
Contributor

@bigdatasourav bigdatasourav 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 changed the title Add virtual_network_type and diagnostic_settings column to the table azure_api_management. Closes #292 Add developer_portal_url, disable_gateway, enable_client_certificate, api_version_constraint, certificates, custom_properties, identity_user_assigned_identities, virtual_network_type, zones and diagnostic_settings columns to the table azure_api_management. Closes #292 Sep 29, 2021
@bigdatasourav bigdatasourav changed the title Add developer_portal_url, disable_gateway, enable_client_certificate, api_version_constraint, certificates, custom_properties, identity_user_assigned_identities, virtual_network_type, zones and diagnostic_settings columns to the table azure_api_management. Closes #292 Add developer_portal_url, disable_gateway, enable_client_certificate, api_version_constraint, certificates, custom_properties, identity_user_assigned_identities, virtual_network_type, restore, scm_url, zones and diagnostic_settings columns to the table azure_api_management. Closes #292 Sep 29, 2021
@bigdatasourav bigdatasourav merged commit 4f770a0 into main Sep 29, 2021
@bigdatasourav bigdatasourav deleted the issue-292 branch September 29, 2021 11:32
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 virtualNetworkType column to the table azure_api_management
2 participants