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

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

Open
mahsoud opened this issue Jul 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mahsoud
Copy link

mahsoud commented Jul 30, 2024

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

@mahsoud mahsoud added the bug Something isn't working label Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant