Skip to content

Does Terrakube Support Uploading of Code #1447

Answered by alfespa17
JPatC asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @JPatC Terrakube support some of the TFC API methods (only the ones that are used for the CLI driven workflow).

I think these are the endpoints that you need:

to create the configuration version.

"POST /remote/tfe/v2/workspaces/{workspaceId}/configuration-versions"

@PostMapping(produces = "application/vnd.api+json", path = "/workspaces/{workspaceId}/configuration-versions")

to upload the tar.gz file using the response property upload-url from the above method:

"PUT /remote/tfe/v2/configuration-versions/{configurationid}"

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@alfespa17
Comment options

@JPatC
Comment options

@alfespa17
Comment options

Answer selected by JPatC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants