Comments (10)
After some experimentation, I found that 2 IPs that have failed so far are part of AWS us-east-2, and another is in us-east-1. I understand that it is probably undesirable to allow entire AWS CIDR ranges so #59 may not solve this after all.
from terraform-provider-namecheap.
I don't know the Namecheap internals but their systems might take a few minutes to fully update each allowed IP.
from terraform-provider-namecheap.
Hi!
Unfortunately this is a limitation of the Namecheap public API itself, rather than Terraform provider. Also there is no way to change whitelist via API as far as I know :(
I would advice you to contact our customer support team. They do track such client requests and as soon as there is enough demand on certain feature - it get's processed by respective product team.
from terraform-provider-namecheap.
This seems to make the Namecheap provider totally unusable when Terraform Cloud is the backend. I keep whitelisting new IPs, but from the TFC side it seems that the IPs are dynamic, so it fails every time.
It's pretty hard to do anything real with this provider if the underlying API breaks on requiring whitelisting something that Terraform Cloud doesn't have (static IPs).
This is quite a bummer as I was really looking forward to using this provider.
from terraform-provider-namecheap.
As @tedmiston said, I wanted to use this provider but am blocked by the requirement to whitelist IP addresses.
- What do you do if you want to run the Terraform locally?
- What do you do if you are using Terraform Cloud?
from terraform-provider-namecheap.
That's really confusing to have build a Terraform module but having this limitation. Allowing a range of IP addresses should be a good way to workaround this.
Maybe having some kind of "Profiles" for well known CI/CD platforms, holding there runners IP CIDR, would even be better.
from terraform-provider-namecheap.
Even without a Namecheap API that updates the whitelist, maybe a provider for updating the whitelist could be made to drive the webpage that takes the input.
In that way, the namecheap provider could depend on the namecheap whitelist provider. When running in Terraform Cloud, a "data" provider could then determine the source IP on the fly and open the door ahead of actual API calls.
Just an idea. This is a major bummer when I just booked a domain with Namecheap for several years. :(
from terraform-provider-namecheap.
I've added Namecheap provider to our infrastructure but had to completely remove it since we are unable to run this in a CI/CD, which makes this provider basically useless if you don't have a static IP.
from terraform-provider-namecheap.
Important
You can register a Terraform Cloud Agent to run your pipelines.
For people who might still be struggling with this issue, here are some resources that can help you:
- https://developer.hashicorp.com/terraform/cloud-docs/agents
- https://developer.hashicorp.com/terraform/tutorials/cloud/cloud-agents
from terraform-provider-namecheap.
Duplicate of #59
from terraform-provider-namecheap.
Related Issues (20)
- [ATTENTION] Complete project refactoring HOT 22
- NameCheap Whitelisted IPs HOT 5
- Domain name not found with FreeDNS domain 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 5
- 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
- VPS support 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.