Comments (10)
Sorry to comment on a closed issue, but I think this could be useful for you too. This also could be due to the amount of DNS records you are trying to add, limit is 150.
Error on the interface, looks like this, when you reached the limit:
Error occured: Too many host records, not supported by DNS System V2. Maximum number of records supported by DNS System V2 is 150. Please delete the extra records from All Host Records page and try again.
from terraform-provider-namecheap.
It could be related to #13, but what version of the namecheap provider are you using? I fixed a bug that sounds very similar to yours in 1.2.0.
https://github.com/adamdecaf/terraform-provider-namecheap/releases/tag/1.2.0
from terraform-provider-namecheap.
@nicoleyson Did you figure this out? Need some help?
from terraform-provider-namecheap.
IP probably isn't whitelisted but I do have concerns with how slow this is. We should contact Namecheap about the throttling and work with them on a way to fix/raise that. I have not been hitting the Retry parts but I am managing 30+ domains with this and watching terraform build the apply/plan seems to fetch domain info serially. Perhaps we can async these calls within reason (under whatever Namecheap comes back as us with). You could argue I shouldn't use it for so many domains but with route_53 I bet it would be way faster than this. It still gets the job done, just have a feeling there is room for improvement somewhere still. Do you work at Namecheap @adamdecaf or know someone?
from terraform-provider-namecheap.
I don't work at Namecheap and don't know anyone who does. IIRC their API didn't handle concurrent requests. Maybe they have a newer API that does?
What version are you on? I lowered the retry sleep interval, which helped speed up applys after an error. I can make a RC version to try -- it'll be on Terraform 0.12 though.
from terraform-provider-namecheap.
Oops sorry, I missed these notifications!
Thank you so much for checking in on this, @adamdecaf !!!
I am no longer using this provider because of this bug, but looking at my commit history... my makefile looked like this:
install:
mkdir -p ~/.terraform.d/plugins/
curl -L https://github.com/adamdecaf/terraform-provider-namecheap/releases/download/1.2.0/terraform-provider-namecheap-osx-amd64 > ~/.terraform.d/plugins/terraform-provider-namecheap_v1.2.0
So definitely 1.2.0.
With regards to whitelisting, I believe I was using a combination of
data "http" "host_ip" {
url = "https://ipv4.icanhazip.com"
}
and ${chomp(data.http.host_ip.body)}
to get the ip and I ensured I whitelisted the relevant IP in namecheap as well.
from terraform-provider-namecheap.
Okay, sounds like the performance is definitely an issue. I hope the next release, which upgrades to Terraform 0.12 when Hashicorp releases it, will be faster for everyone.
from terraform-provider-namecheap.
1.3.0 of this provide has been released. Does that improve the performance for you at all?
from terraform-provider-namecheap.
Def see an improvement , thanks adam
from terraform-provider-namecheap.
Thanks. Feel free to ping this issue or open a new one with other problems.
from terraform-provider-namecheap.
Related Issues (20)
- This provider isn't production ready / this provider has big issues HOT 7
- [ATTENTION] Complete project refactoring HOT 22
- NameCheap Whitelisted IPs HOT 4
- Domain name not found with FreeDNS domain HOT 10
- Allow IPs for Terraform Cloud HOT 10
- Provider 2.0.0+ Import? HOT 4
- OVERWRITE Mode does not warn about removing manual records HOT 1
- Whitelist IPs for known CICD providers HOT 5
- Terraform import record with nameservers incorrectly setting mode to "IMPORT" HOT 2
- Nameserver array missing trailing dot HOT 2
- User not found HOT 1
- FreeDNS subdomain records are all incorrectly going to the root domain HOT 1
- Provider warning for missing api_key, api_user, and user_name even when using NAMECHEAP_* environment variables HOT 1
- Error if CAA 'iodef' record defined HOT 3
- Ability to update the domain contact record information HOT 1
- Namecheap Provider not using provided API Credentials on initialization in .tf file HOT 1
- Feature request: `namecheap_nameserver` resource to register new nameservers HOT 3
- Support for dnssec HOT 5
- Add support for email redirect rules HOT 1
- unable to create sample dns record. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-namecheap.