cab105 / terraform-provider-exoscale Goto Github PK
View Code? Open in Web Editor NEWExoscale specific provider for hashicorp/terraform
Exoscale specific provider for hashicorp/terraform
Hello,
When I try to create an exoscale_compute
resource with template = Linux Ubuntu 16.04 LTS 64-bit
, terraform apply
yields with:
Invalid template: Linux Ubuntu 16.04 LTS 64-bit
If I use template = ubuntu-16.04
, terraform apply
spawns the VM, but terraform plan
tells that the current template is Linux Ubuntu 16.04 LTS 64-bit
and thus will force new resource to change to ubuntu-16.04
...
template: "Linux Ubuntu 16.04 LTS 64-bit" => "ubuntu-16.04" (forces new resource)
Hello,
I'm curious to know why you develop an exoscale_compute
provider while cloudstack_instance
provider works quite well with exoscale.
I proposed 2 PR to add security_group_names
[0] and affinity_group_names
[1] support to the cloudstack_instance
provider. And I think we can manage almost all the features of the exoscale_compute
provider with the generic cloudstack provider.
In the readme you're saying that there is no API call to fetch the ingress and egress rules, but there is one actually. You should use the listSecurityGroups API call and you will receive both set of rules:
https://cloudstack.apache.org/api/apidocs-4.4/user/listSecurityGroups.html
Hello,
I started a VM with terraform apply
setting the name to mynode
. The name of the VM in exoscale portal is mynode
but when I launch terraform plan
, it wants to change the name of my node:
name: "VM-<uuid>" => "mynode"
And if I do a terraform apply
it says that it changed the name of my node, but terraform plan
still reports the change from VM-<uuid>
to mynode
I would be nice if this provider could use CLOUDSTACK_API_KEY
and CLOUDSTACK_SECRET_KEY
environment variables
Hi @vincentbernat @llambiel any chance you guys could test this terraform provider dedicated to you.
@pyr is busy but we would like to wrap this up.
thanks
Hitting issues in the build with dependencies.
we should use pyr/egoscale
go get github.com/hashicorp/terraform
go get github.com/runseb/egoscale/src/egoscale
go install github.com/cab105/terraform-provider-exoscale/
# github.com/cab105/terraform-provider-exoscale/exoscale
src/github.com/cab105/terraform-provider-exoscale/exoscale/affinity_resource.go:37: client.CreateAffinityGroup undefined (type *egoscale.Client has no field or method CreateAffinityGroup)
src/github.com/cab105/terraform-provider-exoscale/exoscale/affinity_resource.go:56: undefined: egoscale.CreateAffinityGroupResponseWrapper
src/github.com/cab105/terraform-provider-exoscale/exoscale/affinity_resource.go:69: client.GetAffinityGroups undefined (type *egoscale.Client has no field or method GetAffinityGroups)
src/github.com/cab105/terraform-provider-exoscale/exoscale/affinity_resource.go:87: client.DeleteAffinityGroup undefined (type *egoscale.Client has no field or method DeleteAffinityGroup)
src/github.com/cab105/terraform-provider-exoscale/exoscale/compute_resource.go:132: client.GetSecurityGroupId undefined (type *egoscale.Client has no field or method GetSecurityGroupId)
src/github.com/cab105/terraform-provider-exoscale/exoscale/compute_resource.go:151: unknown egoscale.MachineProfile field 'AffinityGroups' in struct literal
src/github.com/cab105/terraform-provider-exoscale/exoscale/dns_resource.go:79: client.CreateDomain undefined (type *egoscale.Client has no field or method CreateDomain)
src/github.com/cab105/terraform-provider-exoscale/exoscale/dns_resource.go:88: undefined: egoscale.DNSRecord
src/github.com/cab105/terraform-provider-exoscale/exoscale/dns_resource.go:95: client.CreateRecord undefined (type *egoscale.Client has no field or method CreateRecord)
src/github.com/cab105/terraform-provider-exoscale/exoscale/dns_resource.go:109: client.GetDomain undefined (type *egoscale.Client has no field or method GetDomain)
src/github.com/cab105/terraform-provider-exoscale/exoscale/dns_resource.go:109: too many errors
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.