Comments (7)
You may close this issue. It has been resolved. The issue was with an ending . on name field
from terraform-provider-dns.
Hi @shibug! Sorry for this crash and thanks for reporting it.
Here's the stack trace from the log, for easier reference:
2017-09-19T17:07:16.112-0500 [DEBUG] plugin.terraform-provider-dns_v0.1.0_x4.exe: panic: runtime error: invalid memory address or nil pointer dereference
2017-09-19T17:07:16.112-0500 [DEBUG] plugin.terraform-provider-dns_v0.1.0_x4.exe: [signal 0xc0000005 code=0x0 addr=0x20 pc=0x9ade8e]
2017-09-19T17:07:16.112-0500 [DEBUG] plugin.terraform-provider-dns_v0.1.0_x4.exe:
2017-09-19T17:07:16.112-0500 [DEBUG] plugin.terraform-provider-dns_v0.1.0_x4.exe: goroutine 41 [running]:
2017-09-19T17:07:16.112-0500 [DEBUG] plugin.terraform-provider-dns_v0.1.0_x4.exe: github.com/terraform-providers/terraform-provider-dns/vendor/github.com/miekg/dns.(*Msg).Insert(0xc04226b7b0, 0xc04226b6b0, 0x1, 0x1)
2017-09-19T17:07:16.112-0500 [DEBUG] plugin.terraform-provider-dns_v0.1.0_x4.exe: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-dns/vendor/github.com/miekg/dns/update.go:71 +0x8e
2017-09-19T17:07:16.112-0500 [DEBUG] plugin.terraform-provider-dns_v0.1.0_x4.exe: github.com/terraform-providers/terraform-provider-dns/dns.resourceDnsPtrRecordUpdate(0xc0422435e0, 0xa64a40, 0xc0420e6640, 0x2, 0x2)
2017-09-19T17:07:16.112-0500 [DEBUG] plugin.terraform-provider-dns_v0.1.0_x4.exe: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-dns/dns/resource_dns_ptr_record.go:151 +0x94f
2017-09-19T17:07:16.112-0500 [DEBUG] plugin.terraform-provider-dns_v0.1.0_x4.exe: github.com/terraform-providers/terraform-provider-dns/dns.resourceDnsPtrRecordCreate(0xc0422435e0, 0xa64a40, 0xc0420e6640, 0x0, 0x0)
2017-09-19T17:07:16.112-0500 [DEBUG] plugin.terraform-provider-dns_v0.1.0_x4.exe: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-dns/dns/resource_dns_ptr_record.go:61 +0x457
2017-09-19T17:07:16.112-0500 [DEBUG] plugin.terraform-provider-dns_v0.1.0_x4.exe: github.com/terraform-providers/terraform-provider-dns/vendor/github.com/hashicorp/terraform/helper/schema.(*Resource).Apply(0xc042247e60, 0xc042244780, 0xc04230c180, 0xa64a40, 0xc0420e6640, 0x1, 0x28, 0xc0422fc660)
2017-09-19T17:07:16.112-0500 [DEBUG] plugin.terraform-provider-dns_v0.1.0_x4.exe: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-dns/vendor/github.com/hashicorp/terraform/helper/schema/resource.go:186 +0x494
2017-09-19T17:07:16.112-0500 [DEBUG] plugin.terraform-provider-dns_v0.1.0_x4.exe: github.com/terraform-providers/terraform-provider-dns/vendor/github.com/hashicorp/terraform/helper/schema.(*Provider).Apply(0xc04224aa80, 0xc042244730, 0xc042244780, 0xc04230c180, 0x1690db0, 0x0, 0x0)
2017-09-19T17:07:16.112-0500 [DEBUG] plugin.terraform-provider-dns_v0.1.0_x4.exe: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-dns/vendor/github.com/hashicorp/terraform/helper/schema/provider.go:242 +0xa2
2017-09-19T17:07:16.112-0500 [DEBUG] plugin.terraform-provider-dns_v0.1.0_x4.exe: github.com/terraform-providers/terraform-provider-dns/vendor/github.com/hashicorp/terraform/plugin.(*ResourceProviderServer).Apply(0xc0420e98e0, 0xc042231c00, 0xc04230a1d0, 0x0, 0x0)
2017-09-19T17:07:16.113-0500 [DEBUG] plugin.terraform-provider-dns_v0.1.0_x4.exe: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-dns/vendor/github.com/hashicorp/terraform/plugin/resource_provider.go:488 +0x5e
2017-09-19T17:07:16.113-0500 [DEBUG] plugin.terraform-provider-dns_v0.1.0_x4.exe: reflect.Value.call(0xc0421fe180, 0xc0420ea3c0, 0x13, 0xb7c38e, 0x4, 0xc042237f20, 0x3, 0x3, 0xc0420f1760, 0xa72840, ...)
2017-09-19T17:07:16.113-0500 [DEBUG] plugin.terraform-provider-dns_v0.1.0_x4.exe: /usr/local/go/src/reflect/value.go:434 +0x926
2017-09-19T17:07:16.113-0500 [DEBUG] plugin.terraform-provider-dns_v0.1.0_x4.exe: reflect.Value.Call(0xc0421fe180, 0xc0420ea3c0, 0x13, 0xc042237f20, 0x3, 0x3, 0xc0421618f0, 0x0, 0x0)
2017-09-19T17:07:16.113-0500 [DEBUG] plugin.terraform-provider-dns_v0.1.0_x4.exe: /usr/local/go/src/reflect/value.go:302 +0xab
2017-09-19T17:07:16.113-0500 [DEBUG] plugin.terraform-provider-dns_v0.1.0_x4.exe: net/rpc.(*service).call(0xc0422ee0c0, 0xc0422ee080, 0xc0422c61a8, 0xc04224e900, 0xc0422f61e0, 0xa66580, 0xc042231c00, 0x16, 0xa665c0, 0xc04230a1d0, ...)
2017-09-19T17:07:16.113-0500 [DEBUG] plugin.terraform-provider-dns_v0.1.0_x4.exe: /usr/local/go/src/net/rpc/server.go:387 +0x14b
2017-09-19T17:07:16.113-0500 [DEBUG] plugin.terraform-provider-dns_v0.1.0_x4.exe: created by net/rpc.(*Server).ServeCodec
2017-09-19T17:07:16.113-0500 [DEBUG] plugin.terraform-provider-dns_v0.1.0_x4.exe: /usr/local/go/src/net/rpc/server.go:481 +0x40b
from terraform-provider-dns.
from terraform-provider-dns.
Hello @shibug,
Sorry to see your having this issue. As its been over 8 months just checking to see if this is still a problem with the latest version of the provider? If so could you please supply a fully working terraform example exhibiting the issue? The terraform above is sourcing data from a var that has not been supplied. Thanks!
from terraform-provider-dns.
from terraform-provider-dns.
Thank you for checking, glad to hear it has been resolved!
from terraform-provider-dns.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
from terraform-provider-dns.
Related Issues (20)
- Add datasource of SOA type records
- Reduce Usage of terraform-plugin-docs Custom Templates HOT 1
- Provider crashes in v3.3.0 in terraform plan HOT 6
- Terraform configuration values not being used to set the DNSClient HOT 1
- Invalid Provider Server Combination HOT 4
- dns_cname_record restricts domain to be the zone
- Parsing error for `timeout` HOT 4
- GitHub Actions - deprecated warnings found - action required! HOT 2
- Unable to create a DNS ns-record set on a Windows Active Directory Server HOT 3
- Unable to use password authentification in Linux environment HOT 3
- Unable to delete filters on ns1 records HOT 2
- FEATURE REQUEST: Ability to specify multiple DNS servers to update with the provider HOT 1
- NAPTR support missing?
- Update Go Module to Go 1.20 Minimum HOT 1
- Use AXFR to fetch records for zones
- It is possible to hit the "unable to complete DNS exchange" error
- Ability to specify DNS server for dns_a_record_set data source HOT 1
- Add support for TLSA records HOT 1
- na HOT 1
- Error during terraform test and terraform apply HOT 3
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-dns.