You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform CLI and Terraform IBM Provider Version
Affected Resource(s)
ibm_scc_posture_scope
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
resource "ibm_scc_account_settings" "ibm_scc_account_settings_instance" {
location {
location_id = "us"
}
}
resource "ibm_scc_posture_collector" "collectors" {
description = "sample collector"
is_public = true
managed_by = var.collector_management
name = "sample-collector-demo"
passphrase = ""
}
# Credentials for scope. Scope has a collector associated with it and
resource "ibm_scc_posture_credential" "credentials" {
description = "This credential is used for testing."
display_fields {
ibm_api_key = var.ibmcloud_api_key
}
enabled = true
group {
id = "0"
passphrase = ""
}
name = "sample-credentials-demo"
purpose = "discovery_fact_collection_remediation"
type = "ibm_cloud"
}
resource "ibm_scc_posture_scope" "scc_scope" {
collector_ids = ["${ibm_scc_posture_collector.collectors.id}"]
credential_id = ibm_scc_posture_credential.credentials.id
credential_type = "ibm"
description = "IBM schema-for-configuration-collection"
name = "sample-scope-demo"
}
Debug Output
│ Error: "description" ("IBM schema-for-configuration-collection") should match regexp ^[a-zA-Z0-9-\\.,_\\s]*$
│
│ with ibm_scc_posture_scope.scc_scope,
│ on main.tf line 35, in resource "ibm_scc_posture_scope" "scc_scope":
│ 35: description = "IBM schema-for-configuration-collection"
│
Panic Output
Expected Behavior
terraform plan output to be generated or terraform apply to go through.
Actual Behavior
Failure to produce plan output or apply terraform configuration because description contains blank-space.
Steps to Reproduce
terraform apply or terraform plan -out=".terraform/sampleplanoutput001"
Community Note
Terraform CLI and Terraform IBM Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Panic Output
Expected Behavior
terraform plan output to be generated or terraform apply to go through.
Actual Behavior
Failure to produce plan output or apply terraform configuration because description contains blank-space.
Steps to Reproduce
terraform apply
orterraform plan -out=".terraform/sampleplanoutput001"
Important Factoids
References
The text was updated successfully, but these errors were encountered: