equinix / terraform-equinix-metal-anthos-on-vsphere

[Deprecated] Automated Anthos Installation via Terraform for Equinix Metal with vSphere
https://registry.terraform.io/modules/equinix/anthos-on-vsphere/metal/latest
Apache License 2.0
62 stars 41 forks source link

The default for 'facility` variable (ny5) does not seem to exist #89

Closed geojaz closed 4 years ago

geojaz commented 4 years ago

I noticed the default packetlabs facility in variables.tf was updated to ny5: https://github.com/packet-labs/google-anthos/blob/2e4bc665fefe8b9f7b1a1cd9414a2d2cae42537b/variables.tf#L99-L101

I tried using the new facility, but got an error:

Error: Error reserving IP address block: POST https://api.packet.net/projects/<redacted>/ips: 422 ny5 is not a valid facility                                       

  on 02-network-resources.tf line 1, in resource "packet_reserved_ip_block" "ip_blocks":                                                                                                      
   1: resource "packet_reserved_ip_block" "ip_blocks" {                                                                                                                                                                                                                                                                                                                                     
Error: Error reserving IP address block: POST https://api.packet.net/projects/<redacted>/ips: 422 ny5 is not a valid facility                                       

  on 02-network-resources.tf line 8, in resource "packet_reserved_ip_block" "esx_ip_blocks":                                                                                                  
   8: resource "packet_reserved_ip_block" "esx_ip_blocks" {                     

Am I doing something wrong here? I checked the web console to see if the facility showed up in the UI and didn't see it there either. Is this facility available for normal users yet? Thanks!

paemason commented 4 years ago

It did at some point, but I agree that ny5 appears to be causing issues currently. @c0dyhi11 can you confirm if there currently exists an issue with using ny5, and if so can we remove it as the default facility?

in the meantime, you can add facility = "dfw2" to your terrafrom.tfvars file

c0dyhi11 commented 4 years ago

It looks like we had an issue at this time. This should be resolved now.

geojaz commented 4 years ago

Looks good now. thanks :)