Closed zjpiazza closed 4 years ago
Hi @zjpiazza ,
The "How To" documentation has details on the requirements for endpoints to be considered terraform compliant resources. Please refer to the terraform-compliant-resource section to learn more about this.
Let me know if that helps.
Thanks Dani
Hi @zjpiazza ,
I will go ahead and close off this issue since there’s been no updates since my last reply which hopefully helped answer your question.
Feel free to reopen the issue if you still have questions or need any help.
Thanks, Dani
Hi,
I was able to set the Swagger URL and initialize the provider successfully. However, when I go and try and create the resource in question I get an error saying it's an invalid resource. The resource I am trying to create has the following URL: /api/v0/repositories/{namespace}. Here is a snippet of the Swagger doc:
So going off of the examples, the I figured the name of the resource would be dtr_repositories_v0 but no luck. I have also tried dtr_api_v0_repositories, dtr_repositories any many others but they all fail with the same response:
Error: Invalid resource type
. The only difference I can tell from the examples in the repo and the API I'm trying to map to is the path begins with /api instead of the version number. Is there additional parameters I need to set to make this work?