ibm-cloud-docs / monitoring

Documentation repository for monitoring
1 stars 11 forks source link

Slight Code adoptions #44

Open tschrenk opened 1 year ago

tschrenk commented 1 year ago

Hello,

tried out the procedure:

main.tf

1. change line resource_instance_id = ibm_resource_instance.instance.id to resource_instance_id = ibm_resource_instance.resource_instance.id

  1. Also I commented out the part as it is not needed // Add a user policy for using the resource instance

    // resource "ibm_iam_user_policy" "policy" { // ibm_id = "user@ibm.com" // roles = ["Manager", "Viewer"]

    // resources { // service = "sysdig-monitor" // resource_instance_id = element(split(":", ibm_resource_instance.resource_instance.id), 7) // } //}

  2. I did not specify an API key and it worked

Attaching my Terraform files and the Schematics parameters.

Archiv.zip Screenshot 2023-08-02 at 14-51-05 nb-05-monitoring - IBM Cloud