Skip to main content
Version: Latest Version (2.9.2)

highbond_impact_report (Resource)

Schema

Required

api_nameString critical-assets-report, the api_name for the report
engineString The engine to generate report with
formatString Format of the supplied report template
generateString The format of the report to generate
nameString The unique name of the report
queryString The graphql query

Optional

csv_rootString Pointer to array element in JSON payload from which to create CSV
force_updatesBoolean Allows overriding top-level 'create_only' option.
group_byString Group by report format
idString The ID of this resource.
report_template_pathString Path of the downloaded template
sharedBoolean Defines whether the report is shared across the organization
update_templateBoolean Defines whether the template needs to be updated

Read-Only

signed_urlString Signed url returned by S3 which can be used by the client to download the template

Example Usage

resource "highbond_impact_report" "main" {
name = "IT Asset Software"
api_name = "IT Asset Software"
query = "query fetchAssetType($id: ID) {asset_type: data_table(id: $id) {query {rows totalRowCount}}}"
shared = true
engine = "docxtemplater"
format = "docx"
generate = "docx"
csv_root = ""
report_template_path = "../test/ReportTemplates/asset_type_template_docxtemplater.docx"
group_by = "report_template"
force_updates = true // Create only with force update changes
}