terraform-redhat / terraform-provider-rhcs

Terraform provider for Red Hat Cloud Services
Apache License 2.0
46 stars 77 forks source link

OCM-10607 | ci: fix the cluster leak issue #760

Closed xueli181114 closed 2 weeks ago

xueli181114 commented 2 weeks ago

What this PR does / why we need it: Cluster state file cannot be recorded once process terminated. This caused the resource leak in pull requests testing. Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story (OCM-xxxx): Fixes # OCM-10607 Change type

Checklist

yasun1 commented 2 weeks ago

/lgtm

xueli181114 commented 2 weeks ago

/approve

openshift-ci[bot] commented 2 weeks ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: xueli181114

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[tests/OWNERS](https://github.com/terraform-redhat/terraform-provider-rhcs/blob/main/tests/OWNERS)~~ [xueli181114] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment