Skip to content

[Bug]: equinix_metal_metro Data Source throws 403 Access denied for the current authentication token  #743

@mahsoud

Description

@mahsoud

Terraform Version

1.8.4

Equinix Provider Version

v2.3.1

Effected Terraform Resources

equinix_metal_metro

Terraform Config Files

provider "equinix" {
auth_token = "myUserToken"
}

data "equinix_metal_metro" "this" {
code = "ty"
}

Debug Output

No response

Panic Output

No response

Expected Behavior

metro details collected via API

Actual Behavior

│ Error: Error listing Metros: GET https://api.equinix.com/metal/v1/locations/metros: 403 Access denied for the current authentication token

│ with data.equinix_metal_metro.this,
│ on data.tf line 6, in data "equinix_metal_metro" "this":
│ 6: data "equinix_metal_metro" "this" {

Steps to Reproduce

terraform apply

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions