vmware / terraform-provider-tanzu-mission-control

Terraform provider to manage resources of Tanzu Mission Control
Mozilla Public License 2.0
38 stars 31 forks source link

Refresh auth context while polling for data protection resources #390

Closed rnarenpujari closed 5 months ago

rnarenpujari commented 5 months ago
  1. What this PR does / why we need it:

The data protection related resources have a poll stage where post-creation they wait to reach a terminating state. In Self Managed environments, the auth token may expire during this process. This PR adds refresh logic.

Manually tested the fix.

Acceptance tests passed:

Screenshot 2024-03-22 at 8 26 52 PM
  1. Which issue(s) this PR fixes

    (optional, in `fixes #<issue number>` format, will close the issue(s) when PR gets merged):
    
    Fixes #
  2. Additional information

  3. Special notes for your reviewer

eastaga commented 5 months ago

lgtm