Skip to content

Fail to create azurerm_virtual_network_gateway #6

@albertyckwok

Description

@albertyckwok

Hi, I am try to run the code in new-environment but I am getting "Basic IP configuration for ExpressRoute Virtual Network Gateways is not supported". According to the doc on azurerm_virtual_network_gateway, To build a UltraPerformance ExpressRoute Virtual Network gateway, the associated Public IP needs to be SKU "Basic" not "Standard". The following is what I get from TF apply:

│ Error: Creating/Updating Virtual Network Gateway: (Name "InterConnectVNETGateway" / Resource Group "azure_oci_test_resources"): network.VirtualNetworkGatewaysClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="PublicIpWithBasicSkuNotAllowedOnExpressRouteGateways" Message="Basic IP configuration for ExpressRoute Virtual Network Gateways is not supported. Please create and associate a Standard IP. /subscriptions/dfec75b7-da3b-4c07-ad4d-b56b9e7dabdb/resourceGroups/azure_oci_test_resources/providers/Microsoft.Network/virtualNetworkGateways/InterConnectVNETGateway" Details=[]

The following is my terraform.tfvars:

region="us-sanjose-1"
user_ocid="ocid1.user.oc1..aaaaaaaasz7cxunbocbkem4ivhvdgnhtvmvixfzxcekaprbf2fye6qms374a"
tenancy_ocid="ocid1.tenancy.oc1..aaaaaaaalmxrgmsqoou26rdybgthdwtwdwhn7km5oq3u25f6bdpoxihqef6q"
#Comp FC/azure
compartment_ocid="ocid1.compartment.oc1..aaaaaaaalncmm7xqopcckibpywsdfceebi6psxifchejzuqtjyu76zx7wdbq"
fingerprint="e6:3a:ec:78:4e:d4:78:04:51:6b:6b:2b:cd:bd:ea:c2"
ssh_public_key  = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDNy3VRCKGeuDNlhIDeUKwoIMo08lm37q37ac8gFZ9VjN4plCsfhDjfoo7GSzWZw8FGx0E40xBmn9lFAxwJZ+Axmy+mCGlG17D70PEaLQKAGzzvl8z+YRx+I5F+e4J5oo+V4pglpwkp9PsdtWNouRE7SA03Mor5pAlBjXgkHonUvd8uRXJReyX8NSYKXryKr3oIc8uFoTfeSNQH2Gn7oPNqJYABfj8VDDcl2ZigCCVwmgI2VxOcGAiKjVBWRWPlxul0SAr+tf4+AUvMgpki33gDk+X/9tSGlg3Ydyx5mhlMlClGLVTDu7xNrAMT4L9CUV7NRiz0WatP9vmGY9qwzGMxZdBvH5qm85k5fD4DQNYvsywGfJJRtDfFfA465EeS/I1VTsoqFgS4J30GMkpeoc8Ydr2h6OGkI/DdwimWZflFu9ULjiCa3YDd2ZW/RfGKUzW8t2rE/M49pwxISCu7Zi0mop3Tk+FkrXTye0AiUEg4jetkGAQ0XKgAbm9Vu2PPN/E= akwok@dellDesk"
private_key_path     = "~/.oci/oci_api_key.pem"


# ------ Azure Required Variables
bandwidth="1000"
azure_region="West US"
peering_location="Silicon Valley"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions