-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
User terraform command on OpenFaas Python 3 Function deployment #1720
Comments
Hi @iAbhinavKarn It would really help if you could update your issue and reformat it to use the issue template https://github.com/openfaas/faas/blob/master/.github/ISSUE_TEMPLATE.md Also, it is not clear to me what the question or problem is. I assume that either the function fails or it succeeds but doesn't have the correct side effects. When you restructure to use the issue template, make sure it include fill in the details for the Without any of the error or log details, it is impossible to say what is wrong. But i would suggest to make sure you are configuring the required secrets for terraform to access your amazon account. it looks like you set the access and secret keys to |
My actions before raising this issue
Read/searched the docs
Why do you need this?
To use terraform on openfaas python template.
I am using a Openfaas Python3 function with terraform to create bucket in my AWS Account. I am trying it locally and created a local cluster using k3s and installed openfaas cli.
Steps:
-> Created local cluster and deployed faas-netes.
-> Created a new project using openfaas template of python3. Exposed the port.
-> Changed my project yaml file with new host on gateway key in provider.
-> I am creating my tf files with python only and I am sure that the files are created with proper info as checked it by executing
ls and printing the file data after closing the file.
->Checked if terraform is installed in image and live by executing terraform--version.
Expected Behaviour
Execution of command and creation of resource.
Current Behaviour
Not able to execute the function and if the commands are commented the function will be found and files will be created.
Are you a GitHub Sponsor (Yes/No?)
Check at: https://github.com/sponsors/openfaas
No
Context
We will be able to use terraform on openfaas.
Your Environment
FaaS-CLI version ( Full output from:
faas-cli version
): 0.14.2Docker version
docker version
(e.g. Docker 17.0.05 ): 20.10.15Are you using OpenFaaS on Kubernetes or faasd?
*Kubernetes
Operating System and version (e.g. Linux, Windows, MacOS): Ubuntu 20.04
Code example or link to GitHub repo or gist to reproduce problem:
Other diagnostic information / logs from troubleshooting guide
The text was updated successfully, but these errors were encountered: