Giter VIP home page Giter VIP logo

Comments (6)

danrabinowitz avatar danrabinowitz commented on August 30, 2024

Try changing "name = mars.cyber.fund" to "name = "mars"

from terraform-provider-digitalocean.

abitrolly avatar abitrolly commented on August 30, 2024

Already done. It is still convenient to have greppable mars.cyber.fund name directly in the config.

from terraform-provider-digitalocean.

danrabinowitz avatar danrabinowitz commented on August 30, 2024

I understand. The way DNS works is that a record has a "name" of "mars" in the domain of "cyber.fund". That's just part of DNS, not terraform.

from terraform-provider-digitalocean.

abitrolly avatar abitrolly commented on August 30, 2024

terraform should set the value to mars.cyber.fund.cyber.fund then. This test doesn't match DO behaviour:

https://github.com/terraform-providers/terraform-provider-digitalocean/blob/e74650b26671816037a8275767f1bca42327db19/resource_digitalocean_record_test.go#L24

from terraform-provider-digitalocean.

abitrolly avatar abitrolly commented on August 30, 2024

For usability sake I would make fqdn field writable and mutually exclusive with name to reuse the helper https://github.com/terraform-providers/terraform-provider-digitalocean/blob/e74650b26671816037a8275767f1bca42327db19/resource_digitalocean_record.go#L209

from terraform-provider-digitalocean.

andrewsomething avatar andrewsomething commented on August 30, 2024

I'm happy to say that yesterday, we release version 1.0.0 of the DigitalOcean Terraform provider. It should include a fix for this issue.

You can find the full changelog here: https://github.com/terraform-providers/terraform-provider-digitalocean/blob/master/CHANGELOG.md#100-september-27-2018

In order to upgrade an existing project to the latest version, run:

terraform init -upgrade

If you believe that this issue is being closed by mistake or the problem has not been resolved, please let me know or feel free to open a new issue with additional details.

Thanks for your patience!

from terraform-provider-digitalocean.

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.