Coder Social home page Coder Social logo

terraform-provider-inwx's People

Contributors

andrexus avatar fhemberger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

terraform-provider-inwx's Issues

Support for mobileTAN / account.unlock

I really like this project and the idea behind it! I tried to set it up and noticed that currently supports username/password authentication only (using account.login API method). It would be nice to support entering/computing the mobileTAN, too, for two factor authenticated accounts (using account.unlock API method).

Other INWX API clients have some ways to support that already, see for example https://github.com/inwx/php-client/blob/master/INWX/Domrobot.php#L73 or https://github.com/halfdan/ruby-inwx-xmlrpc/blob/master/INWX/DomainRobot.rb#L27 both require the underlying TFA secret in addition to the password and compute the mobileTAN on the fly.

Unfortunately I'm not so competent in Go, else I would've submitted a PR...

Submission to terraform-providers is not required anymore

Hi,

it's just a FYI.

I would appreciate it if this module can be used in terraform 0.13 directly without manually download it. I don't know the requirement for third-party modules yet.

NEW FEATURES:

Terraform now supports a decentralized namespace for providers, allowing for automatic installation of community providers from third-party namespaces in the public registry and from private registries. (More details will be added about this prior to release.)

https://github.com/hashicorp/terraform/blob/master/CHANGELOG.md

Signin with TAN doesn't seem to work

Running terraform apply -auto-approve -var 'inwx_tan=......' I get the following error:

Failed to create INWX Record: (2200) Authentication error. Reason: 
(Error_AccountUnlockRequired) You need to unlock your account with your mobile TAN.

I tried to enter the TAN as quickly as possible as soon as a new one was generated to avoid the TAN changing after 30 seconds, but still no luck.

Execution fails, but record gets created

The DNS record gets created within INWX, but it's not possible to execute terraform successfully... I tried to find the issue within the code without luck.

# terraform apply

An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  + inwx_record.master
      id:     <computed>
      domain: "example.com"
      name:   "foobar"
      ttl:    "600"
      type:   "A"
      value:  "127.0.0.1"


Plan: 1 to add, 0 to change, 0 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

inwx_record.master: Creating...
  domain: "" => "example.com"
  name:   "" => "foobar"
  ttl:    "" => "600"
  type:   "" => "A"
  value:  "" => "127.0.0.1"

Error: Error applying plan:

1 error(s) occurred:

* inwx_record.master: 1 error(s) occurred:

* inwx_record.master: 3 error(s) decoding:

* 'record[0].Prio' expected type 'int', got unconvertible type 'string'
* 'record[1].Prio' expected type 'int', got unconvertible type 'string'
* 'record[2].Prio' expected type 'int', got unconvertible type 'string'

Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.

Incompatible API version with plugin

Looks like the provider is not compatible with the current Terraform version. It would be great if you could fix the problem and make a new release.

Error: Failed to instantiate provider "inwx" to obtain schema: Incompatible API version with plugin. Plugin version: 4, Client versions: [5]

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.