Comments (2)
The schema.ResourceData
isn't getting populated. Things are failing but errors are being silently ignored. In the resourceDatadogTimeboardRead
function, the call to schema.ResourceData.Set
fails but isn't caught. If I make the change to check errors, the failures are there and the errors vary with each run:
k@Thor ~/test> terraform import datadog_timeboard.my_timeboard 361820
datadog_timeboard.my_timeboard: Importing from ID "361820"...
Error importing: 1 error(s) occurred:
* datadog_timeboard.my_timeboard (import id: 361820): import datadog_timeboard.my_timeboard (id: 361820): Invalid address to set: []string{"graph", "0", "group"}
k@Thor ~/test [1]> terraform import datadog_timeboard.my_timeboard 361820
datadog_timeboard.my_timeboard: Importing from ID "361820"...
Error importing: 1 error(s) occurred:
* datadog_timeboard.my_timeboard (import id: 361820): import datadog_timeboard.my_timeboard (id: 361820): Invalid address to set: []string{"graph", "0", "events"}
k@Thor ~/test [1]> terraform import datadog_timeboard.my_timeboard 361820
datadog_timeboard.my_timeboard: Importing from ID "361820"...
Error importing: 1 error(s) occurred:
* datadog_timeboard.my_timeboard (import id: 361820): import datadog_timeboard.my_timeboard (id: 361820): graph.0.include_ungrouped_hosts: '' expected type 'bool', got unconvertible type '*bool'
My guess is that it has to do with the refactor of the client library to generate its accessor methods and move to pointers for all the fields coupled with Terraform's use of the reflect library to anticipate a need for dereference.
The solution isn't immediately obvious to me but I can take another look at it in a while.
from terraform-provider-datadog.
I believe this was fixed in #27. Can close this once it gets added to a release.
from terraform-provider-datadog.
Related Issues (20)
- Can not set on_missing_data property in datadog_monitor resource type (invalid monitor option) HOT 1
- Plugin crashed while creating a few hundred users HOT 1
- Add Cloud SIEM Notification Resource HOT 1
- object contains unparsed element, while importing dashboards with timeseries widgets and "Other percentile..." in Log query as aggregator HOT 3
- APM Retention Filter Internal Server Error HOT 1
- Data Source for Recommended Monitors
- Cannot be used as metric name, a metric already exists with that name HOT 1
- interface conversion: interface {} is nil, not map[string]interface {} HOT 1
- AWS integration included regions HOT 3
- Log Restriction Queries Resource HOT 2
- Don't throw error if data source resource can not be found
- Data_source Invalid value events HOT 1
- datadog_synthetics_test unable to mark text typed to an input as secure in browser_step block
- Spurious diffs for restricted_roles HOT 2
- 400 error about `locked` attribute but we aren't using it HOT 5
- Add support for teams mapping in datadog_authn_mapping HOT 1
- Unable to remove suppression filters from datadog_security_monitoring_rule HOT 1
- datadog_monitor (Resource) - Metadata
- Unable to specify attribute Priority for the Sensitive Data Scanner Rule
- Intermittent "unexpected EOF" causes terraform to lose track of resources just created
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-datadog.