GithubHelp home page GithubHelp logo

Comments (8)

dprothero avatar dprothero commented on June 18, 2024 1

@dglsparsons I've only changed the comment on the record, but the plan shows:

  # module.forwardemail_dns.vercel_dns_record.fwd_email_txt["prothero.com"] will be updated in-place
  ~ resource "vercel_dns_record" "fwd_email_txt" {
      + comment = "Terraformed: infrastructure/modules/forwardemail_dns/dns.tf"
      ~ id      = "rec_677648a9a918d22766cd3c11" -> (known after apply)
      + team_id = (known after apply)
        # (4 unchanged attributes hidden)
    }

from terraform-provider-vercel.

dprothero avatar dprothero commented on June 18, 2024 1

Works!

from terraform-provider-vercel.

dglsparsons avatar dglsparsons commented on June 18, 2024

Hi @dprothero, thanks for raising this. Looks like the field was added after the initial terraform provider support so I missed adding it. I'll work on getting this added now! 🙏

from terraform-provider-vercel.

dglsparsons avatar dglsparsons commented on June 18, 2024

Hi @dprothero , this is added in v1.3.0.

Please upgrade your provider and let me know if you encounter any issues 🙏

from terraform-provider-vercel.

dprothero avatar dprothero commented on June 18, 2024

Hi @dglsparsons I don't think it's working, I'm getting the following trying to apply a plan:

│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to module.forwardemail_dns.vercel_dns_record.fwd_email_mx2["prothero.com"],
│ provider "module.forwardemail_dns.provider[\"registry.terraform.io/vercel/vercel\"]" produced an
│ unexpected new value: .comment: was cty.StringVal("Terraformed:
│ infrastructure/modules/forwardemail_dns/dns.tf"), but now cty.StringVal("").
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.

from terraform-provider-vercel.

dglsparsons avatar dglsparsons commented on June 18, 2024

Interesting. Could you share the output of your terraform plan?

from terraform-provider-vercel.

dglsparsons avatar dglsparsons commented on June 18, 2024

Okay, so digging a bit deeper - it seems like the API has some issue that no other field can be updated at the same time as the ttl or comment. So, if your plan has changes other than just the 'comment', that could be it.

I'll look into getting the api fixed.

from terraform-provider-vercel.

dglsparsons avatar dglsparsons commented on June 18, 2024

Hi @dprothero, this was an API issue and should be resolved now with no changes on the terraform side.

Let me know if it still doesn't work though 🙏

from terraform-provider-vercel.

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.