Giter VIP home page Giter VIP logo

Comments (5)

psa avatar psa commented on September 24, 2024

I'm not sure why they're not merging it, but #66 has the fix you're looking for.

from terraform-provider-namecheap.

bgre033 avatar bgre033 commented on September 24, 2024

Thanks, and good work! I have a case open with Namecheap and have passed this on. Fingers crossed they actually do something about it.

from terraform-provider-namecheap.

LarsArtmann avatar LarsArtmann commented on September 24, 2024

I just tried to add the following records and failed with the error message below.
If I add it in the Web GUI it works without any complaints.

I'm sure somehow the validation logic does not recognise mailto: correctly.

Code

 record {
    address  = "0 issue \"pki.goog\""
    hostname = "@"
    mx_pref  = 10
    ttl      = 1799
    type     = "CAA"
  }
  record {
    address  = "0 iodef \"mailto:[email protected]\""
    hostname = "@"
    mx_pref  = 10
    ttl      = 1799
    type     = "CAA"
  }

Error

│ Error: Records[18].Address "0 iodef "mailto:[email protected]"" must contain a protocol prefix for CAA iodef record

│ with namecheap_domain_records.larsartmann_com,
│ on larsartmann.com.tf line 5, in resource "namecheap_domain_records" "larsartmann_com":
│ 5: resource "namecheap_domain_records" "larsartmann_com" {

locating the bug

After adding the CAA iodef record manually through the namecheap Web GUI (Image 1), the error stayed the same.
Only after applying CAA issue record manually through the namecheap Web GUI (Image 2), there by fully syncing the real state and the terraform target state, did the error disappear. It's also noticeable that terraform plan did not find anything to do after fully syncing them manually.
Screenshot 2024-01-05 at 03 50 32
Screenshot 2024-01-05 at 03 57 15

from terraform-provider-namecheap.

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.