You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.
Terraform should just continue, and update the environment as described in the HCL files.
Actual Behavior
Terraform aborts with this error message:
Error: Error refreshing state: 1 error(s) occurred:
* rancher_registration_token.compute: 1 error(s) occurred:
* rancher_registration_token.compute: rancher_registration_token.compute: Bad response statusCode [403]. Status [403 Forbidden]. Body: [code=Forbidden, message=Forbidden, baseType=error] from [https://rancher0.c11h-wonderwoman.de/v2-beta/projects/1a7/schemas]
Steps to Reproduce
I am not sure, honestly. This is how I would do it:
Create an environment in Rancher with Terraform.
Delete the environment manually.
terraform destroy
Important Factoids
The API browser gives the following behavior:
there is no project with ID "1a7", there is only one with "1a5".
I don't actually know why.
If I access the link above, I also get "403", which is wrong, cause I am authenticated. I think 404 would be way more appropriate.
References
N/A
The text was updated successfully, but these errors were encountered:
flypenguin
changed the title
Rancher API seems to use wrong HTTP status codes
TF aborts when doing manual changes / Rancher API return values / ???
Nov 13, 2017
flypenguin
changed the title
TF aborts when doing manual changes / Rancher API return values / ???
TF aborts after performing manual changes / Rancher API return values / ???
Nov 13, 2017
Hi there,
Terraform Version
0.10.8
Affected Resource(s)
rancher_environment
(?)rancher_registration_token
(?)Terraform Configuration Files
Debug Output
Expected Behavior
Terraform should just continue, and update the environment as described in the HCL files.
Actual Behavior
Terraform aborts with this error message:
Steps to Reproduce
I am not sure, honestly. This is how I would do it:
terraform destroy
Important Factoids
The API browser gives the following behavior:
References
N/A
The text was updated successfully, but these errors were encountered: