-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Silence config block not recognizing variable #159
Comments
The issue here is not with the datadog provider, but with HCL, which doesn't support interpolation in key values [1]. A workaround for this is using the I'll see if there's a good place in the provider documentation where this could be added as a note. |
nmuesch
added a commit
that referenced
this issue
Apr 17, 2019
Document HCL limitation of key interpolation. Fixes #159
jbenais
pushed a commit
to jbenais/terraform-provider-datadog
that referenced
this issue
Aug 20, 2019
jbenais
pushed a commit
to jbenais/terraform-provider-datadog
that referenced
this issue
Aug 20, 2019
Document HCL limitation of key interpolation. Fixes DataDog#159
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
Terraform Version
Terraform v0.10.8
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Expected Behavior
The silenced functionname should be rendered like
"functionname:app-report-generator-dev" = 0
Actual Behavior
The silenced functionname is rendered as
"functionname:app-report-generator-${var.env}" = 0
Important Factoids
We are currently generating environment isolated monitors. The variables are rendered everywhere else in the resource, but they don't appear to work in the silenced block.
The text was updated successfully, but these errors were encountered: