Git Product home page Git Product logo

Comments (6)

jbe-dw avatar jbe-dw commented on June 9, 2024 1

Hello,

I can't tell about the development team. I tried to release a patch but it couldn't be 100% functional due to the terraform sdk limitations. Although it was merged, the master branch has been reverted because it was broken.

With that said, I'm using this in prod:

  • disable nameserver support in the zone resource with lifecycle/ignore_changes
  • Manage NS records with the record resource

This is a good alternative. The NS update don't trigger a zone re-creation anymore.

Regards.

from terraform-provider-powerdns.

networksecadmin avatar networksecadmin commented on June 9, 2024

We have the same issue.
Is there any update or workaround?

from terraform-provider-powerdns.

mbag avatar mbag commented on June 9, 2024

@rhysxevans thanks for reporting.

The issue with updating nameservers with powerdns_zone resource is that PowerDNS API doesn't have straight forward way to update nameservers via same API endpoint that is used to create/manage zone. During zone creation nameservers become NS type records in RRset and they have to be updated as any other rrset. Original authors of the code must have overlooked this, because in UpdateZone function they only implemented update of the basic zone metadata via this API call

I've investiagted and additional logic will have to be added to UpdateZone which will have to take into consideration that after creation nameservers have to be added via call to ReplaceRecordSet.

from terraform-provider-powerdns.

mbag avatar mbag commented on June 9, 2024

Currently, I'm in the process of migrating provider to new workflow, so it would be available via https://registry.terraform.io since I don't think old way of releasing provider version is supported any more. I'll let you know once this is issue is resolved.

from terraform-provider-powerdns.

jbe-dw avatar jbe-dw commented on June 9, 2024

You have to update it as a classic record. All the api calls and functions are already in the client. It should be easy to add it.

from terraform-provider-powerdns.

networksecadmin avatar networksecadmin commented on June 9, 2024

Hi, are there any updates to this issue?
Is this powerdns terraform provider still being developed further?

from terraform-provider-powerdns.

Related Issues (20)

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.