stefanprodan / k8s-scw-baremetal

Kubernetes installer for Scaleway bare-metal AMD64 and ARMv7
MIT License
177 stars 58 forks source link

Error applying plan. APIMessage: Authorization required #13

Closed apeyroux closed 6 years ago

apeyroux commented 6 years ago

Hello,

When I make a terraform apply I have this error. I've looked at the quotas, but they look good.

Reagrds

Error: Error applying plan:

5 error(s) occurred:

  • scaleway_ip.k8s_node_ip[0]: 1 error(s) occurred:

  • scaleway_ip.k8s_node_ip.0: StatusCode: 403, Type: authorization_required, APIMessage: Authorization required

  • scaleway_security_group.node_security_group: 1 error(s) occurred:

  • scaleway_security_group.node_security_group: StatusCode: 403, Type: authorization_required, APIMessage: Authorization required

  • scaleway_ip.k8s_master_ip: 1 error(s) occurred:

  • scaleway_ip.k8s_master_ip: StatusCode: 403, Type: authorization_required, APIMessage: Authorization required

  • scaleway_security_group.master_security_group: 1 error(s) occurred:

  • scaleway_security_group.master_security_group: StatusCode: 403, Type: authorization_required, APIMessage: Authorization required

  • scaleway_ip.k8s_node_ip[1]: 1 error(s) occurred:

  • scaleway_ip.k8s_node_ip.1: StatusCode: 403, Type: authorization_required, APIMessage: Authorization required

trash-anger commented 6 years ago

I just had the same error ...

I'm looking at this post : https://github.com/terraform-providers/terraform-provider-scaleway/issues/26

trash-anger commented 6 years ago

that's probably because scaleway C1 in Paris is Low stock ...

trash-anger commented 6 years ago

Same error with VC1M ...

apeyroux commented 6 years ago

Yes and also with region=ams1

stefanprodan commented 6 years ago

This happens from time to time, I suspect that parts of the API are down.

openJT commented 6 years ago

Had the same error and just found out why! organization != access-key

The readme says: export SCALEWAY_ORGANIZATION=ACCESS-KEY I changed the access key for the organization id and it worked! You can get it with the api or the id in your Scaleway invoice.

Thank you for this example/repo!

apeyroux commented 6 years ago

@openJT Thank you! That's right !

stephenmoloney commented 6 years ago

I also see this issue sporadically.