Comments (8)
Just want to give you some props for developing this terraform provider. It's a great plugin! 👍
from terraform-provider-namecheap.
Can you paste the terraform config?
from terraform-provider-namecheap.
My config with some censoring:
provider "namecheap" {
username = "blabla"
api_user = "blabla"
token = "******************************************"
ip = "my.ip.add.ress"
use_sandbox = "false"
}
resource "namecheap_record" "www-example-com" {
name = "www"
domain = "badbadblabla.space"
type = "CNAME"
ttl = "60"
address = "elb.badbadblabla.space"
}
And what I have after this in terraform.tfstate:
"version": 3,
"terraform_version": "0.11.8",
"serial": 1,
"lineage": "834da203-b1a4-e8df-4d20-db22469a49f4",
"modules": [
{
"path": [
"root"
],
"outputs": {},
"resources": {
"namecheap_record.www-example-com": {
"type": "namecheap_record",
"depends_on": [],
"primary": {
"id": "2057187105",
"attributes": {
"address": "elb.badbadblabla.space",
"domain": "badbadblabla.space",
"id": "2057187105",
"mx_pref": "10",
"name": "www",
"ttl": "60",
"type": "CNAME"
},
"meta": {},
"tainted": false
},
"deposed": [],
"provider": "provider.namecheap"
}
},
"depends_on": []
}
]
}
So, the record had been added to namecheap but I got the error and I couldn't do anything with the record after that by terraform. Only if I delete tfstate file I can add or change the record again.
from terraform-provider-namecheap.
Was this a one time thing? Can you perform multiple updates (in a row) to the record now?
Looking through the terraform configs which uses this I noticed my address
values have a trailing .
. I forget if the provider/library adds that automatically if left off (or if it matters to namecheap).
address = "foo.example.com."
from terraform-provider-namecheap.
I updated the error messages a bit on master. If you're building from source bfa6b0a updates that.
from terraform-provider-namecheap.
@nikolaymazurenko did you need help figuring this out still?
@punkdata Thanks!
from terraform-provider-namecheap.
@adamdecaf, thank you very much for this module! Trailing dot resolved my problem. Excellent work!
from terraform-provider-namecheap.
Awesome! Please open more bugs if you find them!
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.