-
Notifications
You must be signed in to change notification settings - Fork 43
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
Inconsistent behaviour: re-run "terraform apply" doesn't re-create deleted project #809
Comments
Service request was raised to |
Possible root causeHarness
The error handling code below only handles {"code": "RESOURCE_NOT_FOUND_EXCEPTION"}, not {"code": "ENTITY_NOT_FOUND"}. That's why it failed to re-create project and error out. terraform-provider-harness/helpers/errors.go Lines 67 to 70 in d55c04c
Actually there is another exception
|
Proposed Change
|
Terraform Version
1.5.6
Harness Provider Version
0.29.2
Affected Resource(s)
Only
harness_platform_project
is affected.Other resource types like
harness_platform_service
,harness_platform_variable
are behaving as expected.Terraform Configuration Files
Expected Behavior
When:
I'm expecting step 4 (re-run terraform apply) will create the project.
Actual Behavior
step 4
terraform apply
failed, with error message "404 Not Found"This behaviour is inconsistent with other Harness resources like service, variable...
The text was updated successfully, but these errors were encountered: