Closed srba-sap closed 8 months ago
@loafoe and @sleungcy please, review
@sleungcy I have implemented what you have suggested, please, review.
@srba-sap could you add a testcase for this?
@sleungcy the UTs were already there (https://github.com/cloudfoundry-community/terraform-provider-cloudfoundry/blob/main/cloudfoundry/resource_cf_service_key_test.go) - I just added the new timeouts to the test setup.
I ran the test case and it worked. lgtm. I am not a maintainer, so need @loafoe to merge.
The defaults are not changed from the initial implementation (60 seconds for both).
Generally, service key creation should not take more than a minute, but, if the service needs to execute complex operations, as, part of the key creation, this can take longer.