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

terraform cloud support #19

Open
bonzofenix opened this issue May 13, 2021 · 3 comments
Open

terraform cloud support #19

bonzofenix opened this issue May 13, 2021 · 3 comments
Labels
discussion This issue is not a bug or feature and a conversation is needed to find an appropriate resolution enhancement This issue is a feature request

Comments

@bonzofenix
Copy link
Contributor

What steps did you take:
I installed the provider on a project and set the project to be run by terraform cloud

What happened:
I received the following error:
Executing ytt: exec: "ytt": executable file not found in $PATH (stderr: )

What did you expect:
ytt to be provisioned by the plugin

@bonzofenix bonzofenix added bug This issue describes a defect or unexpected behavior carvel-triage This issue has not yet been reviewed for validity labels May 13, 2021
@cppforlife
Copy link
Contributor

ytt to be provisioned by the plugin

@bonzofenix any thoughts on how to do that? never used terraform cloud myself. (this terraform provider just delegates to tools like ytt, kbld, kapp by calling out to them).

@cppforlife cppforlife changed the title Missing ytt dependency terraform cloud support May 17, 2021
@cppforlife cppforlife added discussion This issue is not a bug or feature and a conversation is needed to find an appropriate resolution enhancement This issue is a feature request and removed bug This issue describes a defect or unexpected behavior carvel-triage This issue has not yet been reviewed for validity labels May 17, 2021
@lukasmrtvy
Copy link

Binaries can be installed via https://github.com/mumoshu/shoal lib for example

@bonzofenix
Copy link
Contributor Author

bonzofenix commented May 18, 2021

@cppforlife Reading thourgh terraform cloud docs, they recommend vendoring any missing dependency in their worker with a git submodule. I got this working by vendoring https://github.com/bonzofenix/carvel_binaries as a submodule to my terraform project and adding the it to the PATH env.

I guess this is a valid workaround for now. It would be nice if it was provided by the plugin but I do not know how feasible that is as I have not written any myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion This issue is not a bug or feature and a conversation is needed to find an appropriate resolution enhancement This issue is a feature request
Projects
None yet
Development

No branches or pull requests

3 participants