Closed Slaizer007 closed 2 months ago
Hi @Slaizer007, are you using a project in QA? If yes, you need to set the field iaas_custom_endpoint to the QA url of the IaaS API.
This seems like a problem with the authentication, so please also double check your project_id
and service_account_token
.
Hey @vicentepinto98,
you are right we are deploying to STACKIT QA Portal. We added the correct iaas_custom_endpoint now and receive a new error:
│ Error: Error creating network
│
│ with stackit_network.hansp-k8s-network,
│ on ske.tf line 23, in resource "stackit_network" "hansp-k8s-network":
│ 23: resource "stackit_network" "hansp-k8s-network" {
│
│ Calling API: undefined response type, status code 404, Body:
│ {"status":404,"message":"Not found"}
│
╵
I just tested in QA and everything is working fine. Which url are you using? The correct one is https://iaas-qa.api.eu01.stg.stackit.cloud
Hey @Slaizer007, I'll close this issue due to inactivity. Please feel free to re-open it if you still have doubts!
After trying the new stackit_network ressource I get a error during the apply.
I can cleanly reproduce the issue with following config:
Output of terraform apply: