| page_title | dbtcloud_license_map Resource - dbtcloud |
|---|---|
| subcategory | |
| description | Maps SSO groups to a given license type |
Maps SSO groups to a given license type
# Developer license group mapping
resource "dbtcloud_license_map" "dev_license_map" {
license_type = "developer"
sso_license_mapping_groups = ["DEV-SSO-GROUP"]
}
# Read-only license mapping
resource "dbtcloud_license_map" "read_only_license_map" {
license_type = "read_only"
sso_license_mapping_groups = ["READ-ONLY-SSO-GROUP"]
}
# IT license mapping
resource "dbtcloud_license_map" "it_license_map" {
license_type = "it"
sso_license_mapping_groups = ["IT-SSO-GROUP"]
}license_type(String) License type
resource_metadata(Dynamic) Metadata for tracking resource identity during account migrations. Stored in Terraform state only and not sent to the API.sso_license_mapping_groups(Set of String) SSO license mapping group names for this group
id(Number) The ID of the license map
Import is supported using the following syntax:
# using import blocks (requires Terraform >= 1.5)
import {
to = dbtcloud_license_map.my_license_map
id = "license_map_id"
}
import {
to = dbtcloud_license_map.my_license_map
id = "12345"
}
# using the older import command
terraform import dbtcloud_license_map.my_license_map "license_map_id"
terraform import dbtcloud_license_map.my_license_map 12345