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

Implement the CreateWorkspaceBlob gRPC function to create, compress, encrypt, and retrieve Workspace BLOBs from the tf-runner. #1120

Closed
Tracked by #632
yiannistri opened this issue Nov 14, 2023 · 2 comments
Assignees

Comments

@yiannistri
Copy link
Contributor

yiannistri commented Nov 14, 2023

From #911

Creating Workspace BLOB: The TF-Controller invokes a new gRPC function named "CreateWorkspaceBlob".
The content of the Workspace file system is compressed using tar and gzip to produce the Workspace BLOB.
The TF-Controller retrieves this BLOB as a byte array via the return value of the CreateWorkspaceBlob gRPC function.

Creation, compression and encryption process are done in tf-runner.

@yiannistri yiannistri changed the title Implement the CreateWorkspaceBlob gRPC function to create, compress, encrypt, and retrieve Workspace BLOBs from the tf-runner. Creation, compression and encryption process are done in tf-runner. Implement the CreateWorkspaceBlob gRPC function to create, compress, encrypt, and retrieve Workspace BLOBs from the tf-runner. Nov 14, 2023
@luizbafilho
Copy link
Contributor

@chanwit to clarify what needs to happen, the when calling CreateWorkspaceBlob, the tf-runner should zip the terraform.tfstate.d directory and return that as the payload?

@chanwit
Copy link
Collaborator

chanwit commented Nov 21, 2023

Not that dir, but the whole terraform dir that is extracted.

Basically the idea is to keep everything after code generation (vars, secrets, configmap) as a tar gz blob.

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

No branches or pull requests

3 participants