inwx / terraform-provider-inwx

INWX Terraform Provider plugin for Terraform
MIT License
19 stars 5 forks source link

Feature request: support setting DNS entries #2

Closed nachtjasmin closed 1 year ago

nachtjasmin commented 2 years ago

While setting customer information and several information for domains is possible, there's no way for setting DNS entries for specific domains yet.

I know that there's the Hashicorp DNS module, but unfortunately I couldn't find any information whether INWX supports it or not.

JohannesRudolph commented 2 years ago

Looks like it's in the API but not in the terraform provider - would be cool to add this.

lucendio commented 1 year ago

FYI: atm I'm using https://github.com/andrexus/terraform-provider-inwx but a) it's outdated and b) it does not really honor the Terraform state and thus always re-applies all entries to all managed zones.

hikhvar commented 1 year ago

@lucendio did you manage to get the andrexus provider work with terraform versions above v0.12.?

And I really really would like to have this feature added. From my point of view, only with this feature, this provider is of any use for me as an user. I manage many more DNS records, than domain names.

waeltken commented 1 year ago

Looks like #1 solves this issue. This would allow to use inwx in combination with the Hashicorp DNS module.

hikhvar commented 1 year ago

I would like to have an easy way to update my DNS records via terraform, without enrolling DNSSEC on my domains. INWX offers this method via their API. I would like to use that mechanism.

lucendio commented 1 year ago

did you manage to get the andrexus provider work with terraform versions above v0.12.?

@hikhvar I'm running it with Terraform 1.1.9. What kind of issue do you face with newer versions of Terraform and the andrexus provider?

Looks like https://github.com/inwx/terraform-provider-inwx/pull/1 solves this issue. This would allow to use inwx in combination with the Hashicorp DNS module.

@waeltken just to clarify, because I have little knowledge on the matter: are you saying that https://github.com/inwx/terraform-provider-inwx/pull/1 would enable RFC2845 (TSIG), therefore the usage of Hashicorp's DNS Provider (as sort of a 2-stage approach) to archive the missing functionality mentioned above?

fsoederhuyzen commented 1 year ago

1 has been merged since 1.1.0

5 (which has been merged since 1.2.0) resolves setting nameserver records via the api (without DNSSEC)

It is now possible to use the new inwx_nameserver_record resource to set dns entries.