-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Adding Digital Ocean Deployment using Terraform #148
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
Conversation
Co-authored-by: David Blore <42894467+DavidBlore@users.noreply.github.com>
Co-authored-by: David Blore <42894467+DavidBlore@users.noreply.github.com>
Co-authored-by: David Blore <42894467+DavidBlore@users.noreply.github.com>
|
The 🐐 returns with another deployment PR. Thank you 🙏 Ping me in Discord for the Contributor role if you are in there - for sure earned it doing this stuff, IaC is such a headache sometimes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hello, when trying to use this I am getting the following error
Error: Invalid function argument
│
│ on main.tf line 33, in locals:
│ 33: env_content = file("../../docker/.env")
│ ├────────────────
│ │ while calling file(path)
│
│ Invalid value for "path" parameter: no file exists at "../../docker/.env"; this function works only with files that are distributed as part
│ of the configuration source code, so if this file will be created by a resource in this configuration you must instead obtain this result
│ from an attribute of that resource.
╵
Am I missing something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are not running the terraform template from inside the directory the template is in - as you can see it looks two directories up for the docker folder. Change that line if the .env is in the same directory
* Adding GCP Deployment Manager Template * Adding GCP Deployment Manager Template * Adding GCP Deployment Manager Template * Update gcp/deployment/DEPLOY.md Co-authored-by: David Blore <42894467+DavidBlore@users.noreply.github.com> * Update gcp/deployment/DEPLOY.md Co-authored-by: David Blore <42894467+DavidBlore@users.noreply.github.com> * Update gcp/deployment/DEPLOY.md Co-authored-by: David Blore <42894467+DavidBlore@users.noreply.github.com> * Update DEPLOY.md * Update DEPLOY.md * Update DEPLOY.md * Adding Digital Ocean Deployment using Terraform * Adding Digital Ocean Deployment with Terraform --------- Co-authored-by: David Blore <42894467+DavidBlore@users.noreply.github.com>
This PR introduces a new Terraform configuration that enables users to easily deploy a private AnythingLLM instance on DigitalOcean.