Skip to content

Instantly share code, notes, and snippets.

@potyl
Created December 3, 2022 15:23
Show Gist options
  • Save potyl/8904dce9689d9de1d1915fe57013c89c to your computer and use it in GitHub Desktop.
Save potyl/8904dce9689d9de1d1915fe57013c89c to your computer and use it in GitHub Desktop.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# newrelic_one_dashboard_json.variables will be created
+ resource "newrelic_one_dashboard_json" "variables" {
+ account_id = (known after apply)
+ guid = (known after apply)
+ id = (known after apply)
+ json = jsonencode(
{
+ description = null
+ name = "Variable Terraform"
+ pages = [
+ {
+ description = null
+ name = "Variable Terraform"
+ widgets = [
+ {
+ layout = {
+ column = 1
+ height = 3
+ row = 1
+ width = 4
}
+ linkedEntityGuids = null
+ rawConfiguration = {
+ facet = {
+ showOtherSeries = false
}
+ nrqlQueries = [
+ {
+ accountId = 264822
+ query = "SELECT count(*) FROM Transaction"
},
]
+ platformOptions = {
+ ignoreTimeRange = false
}
}
+ title = ""
+ visualization = {
+ id = "viz.billboard"
}
},
]
},
]
+ permissions = "PUBLIC_READ_WRITE"
+ variables = [
+ {
+ defaultValues = []
+ isMultiSelection = false
+ items = null
+ name = "name"
+ nrqlQuery = {
+ accountIds = [
+ 264822,
]
+ query = "SELECT uniques(name) FROM Transaction"
}
+ replacementStrategy = "STRING"
+ title = "TransName"
+ type = "NRQL"
},
]
}
)
+ permalink = (known after apply)
+ updated_at = (known after apply)
}
Plan: 1 to add, 0 to change, 0 to destroy.
newrelic_one_dashboard_json.variables: Creating...
newrelic_one_dashboard_json.variables: Creation complete after 1s [id=MjY0ODIyfFZJWnxEQVNIQk9BUkR8ZGE6MjM5OTM0OQ]
Releasing state lock. This may take a few moments...
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment