Open srmamit opened 2 years ago
This issue is resolved. Corrected the documentation with correct syntax.
@srmamit : could you please check and close.
the group field should also be a map, we have following configuration in our setup:
resource "ibm_scc_posture_credential" "scc_credentials" {
description = "Credential used by SCC collector for connecting to the resources."
display_fields {
ibm_api_key = var.ibmcloud_api_key
}
enabled = true
group {
id = "0"
passphrase = ""
}
name = "${var.prefix}-credentials"
purpose = var.scc_credential_purpose
type = local.scc_credential_type
}
I think the example provided in documentation still requires small change.
Community Note
New or Affected Resource(s) or Datasource(s)
Description
Example provided in the documentation has syntax error for
display_fields
andgroup
Following is in the documentation:References