NewRelic provider: How to pass policy_id parameter to NrqlAlertCondition #3642
Labels
bug
Something isn't working
new
Un-triaged issue
pre-built providers
Issues around pre-built providers managed at https://github.com/hashicorp/cdktf-repository-manager
Expected Behavior
I am trying to create an
NrqlAlertCondition
. This requires apolicy_id
parameter.Before creation of
NrqlAlertCondition
, I am creating anAlertPolicy
. I should be able to passid
of theAlertPolicy
topolicy_id
ofNrqlAlertCondition
Actual Behavior
policy_id
ofNrqlAlertCondition
accepts an int or float. Thepolicy.id
that we get fromAlertPolicy
is a string like${TfToken[TOKEN.244]}
and hence can't typecast and pass this topolicy_id
Steps to Reproduce
Versions
Providers
newrelic/newrelic │ 3.37.1 │ ^0.20.0 │ │ cdktf-cdktf-provider-newrelic │ 12.8.1
Gist
No response
Possible Solutions
No response
Workarounds
No response
Anything Else?
No response
References
newrelic/terraform-provider-newrelic#1940
Help Wanted
Community Note
The text was updated successfully, but these errors were encountered: