Comments (2)
@sprusr7 This is due to the release of the v2 Vultr Terraform Provider. Will be pushing a new release for the module shortly pinning the provider to an older release(v1.5.0
). If you wish to proceed immediately please add the following to your terraform plan:
terraform {
required_providers {
vultr = {
source = "vultr/vultr"
version = "1.5.0"
}
}
}
then re-run terraform init
and terraform validate
. Please note, this module will be updated to v2 at some point.
from terraform-vultr-condor.
I tried to re-run everything onto a new server and getting only 1 error this time.
[root@staging ~]# terraform validate
Error: Invalid function argument
on .terraform/modules/cluster/vultr-ssh.tf line 3, in resource "vultr_ssh_key" "provisioner":
3: ssh_key = trimspace(file("~/.ssh/id_rsa.pub"))
Invalid value for "path" parameter: no file exists at /root/.ssh/id_rsa.pub;
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.
Following two files do not exist on my Centos server
~/.ssh/id_rsa.pub
~/.ssh/id_rsa
If I create empty files on the above paths then I get following errors when I run terraform apply
.
Error: Error creating SSH key: Unable to create SSH Key: Invalid SSH key. Keys should be in authorized_keys format
on .terraform/modules/cluster/vultr-ssh.tf line 1, in resource "vultr_ssh_key" "provisioner":
1: resource "vultr_ssh_key" "provisioner" {
Error: Error creating network: Not currently enabled on your account, enable on https://my.vultr.com/network/
on .terraform/modules/cluster/vultr-vpc.tf line 1, in resource "vultr_network" "cluster_network":
1: resource "vultr_network" "cluster_network" {
from terraform-vultr-condor.
Related Issues (12)
- [BUG] - Coredns Pods unable to be scheduled (start) because no CNI networks defined HOT 12
- Invalid value for "path" parameter: no file exists at /root/.ssh/id_rsa.pub HOT 5
- how to use user_data ? HOT 1
- Missing required argument even during execution of `terraform plan` HOT 1
- [Feature] change container runtime from containerd to crio HOT 1
- [BUG] variable "enable_backups" HOT 5
- Repository initialization failure regarding API key error HOT 4
- [BUG] issue during the creation of controller instance HOT 3
- [BUG] - Kubeadm init fails with timeout HOT 4
- [Feature] - Block Storage in More Locations? HOT 1
- How do I get kubeconfig file for the Kubernetes Cluster generated with https://github.com/vultr/condor? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-vultr-condor.