terraform-provider-sysdig
terraform-provider-sysdig copied to clipboard
about Monitor Authentication
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.