terraform-provider-sysdig icon indicating copy to clipboard operation
terraform-provider-sysdig copied to clipboard

about Monitor Authentication

Open go-test-sysdig opened this issue 1 year ago • 1 comments
trafficstars

I am going to add a Role using tf, although my mistake caused me to write the wrong option in the authentication, the Role addition still succeeded, is this the correct situation? Here's the tf file I used, and you can see that I wrote “sysdig_monitor_api_token” instead of “sysdig_secure_api_token”.

terraform {
  required_providers {
    sysdig = {
      source = "sysdiglabs/sysdig"
      version = ">=0.5"
    }
  }
}

provider "sysdig" {
  sysdig_secure_url="https://secure.sysdig.com"
  sysdig_monitor_api_token  = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

I just tried adding Role and Team. Adding a Role worked but adding a Team failed.

go-test-sysdig avatar Aug 30 '24 07:08 go-test-sysdig