Skip to content
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

Cache workspace BLOBs in TF Controller in case the source gets deleted before Terraform CR #632

Open
14 tasks
Tracked by #755
chanwit opened this issue May 30, 2023 · 4 comments
Open
14 tasks
Tracked by #755
Assignees
Labels

Comments

@chanwit
Copy link
Collaborator

chanwit commented May 30, 2023

User Story

As a Terraform Controller user,
I'd like to have the workspace blobs cached in the TF Controller,
so that the deletion of Source won't cause issues in processing Terraform CRs.

Acceptance Criteria

  • The workspace blobs are cached in the TF Controller before processing the Terraform CRs.
  • Even when the source is deleted before the Terraform CR, the processing won't fail due to the cached blobs.
  • Adequate tests are added to ensure the caching mechanism works properly, and there is no regression in other functionalities.

Sub tasks

@LappleApple
Copy link
Contributor

Are we aware of users/customers currently having issues because we don't have this enhancement in place?

@chanwit chanwit changed the title Cache source blobs in TF Controller in case the source gets deleted before Terraform CR Cache workspace BLOBs in TF Controller in case the source gets deleted before Terraform CR Aug 30, 2023
@chanwit
Copy link
Collaborator Author

chanwit commented Aug 30, 2023

It's the problem we categorized as the single resource deletion problem reported by #454 and #666

@chanwit
Copy link
Collaborator Author

chanwit commented Aug 30, 2023

Terraform BLOB caching design doc:
#911

@LappleApple
Copy link
Contributor

LappleApple commented Aug 30, 2023

Sorry, I transferred a question over from notes that I had made before reading those issues later on. 🤦 Thanks for the prompt response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants