Giter VIP home page Giter VIP logo

terraform-provider-exoscale's People

Contributors

cab105 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

terraform-provider-exoscale's Issues

[bug] exoscale_compute template attribute not idempotent

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)

[bug] exoscale_compute name attribute not idempotent

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

[question] What about cloudstack_instance provider

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.

[0] hashicorp/terraform#7240
[1] hashicorp/terraform#7242

can't build

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.