Resource: aws_licensemanager_license_configuration

Provides a License Manager license configuration resource.

Example Usage

resource "aws_licensemanager_license_configuration" "example" {
  name                     = "Example"
  description              = "Example"
  license_count            = 10
  license_count_hard_limit = true
  license_counting_type    = "Socket"

  license_rules = [
    "#minimumSockets=2",
  ]

  tags = {
    foo = "barr"
  }
}

Argument Reference

This resource supports the following arguments:

Rules

License rules should be in the format of #RuleType=RuleValue. Supported rule types:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import license configurations using the id. For example:

import {
  to = aws_licensemanager_license_configuration.example
  id = "arn:aws:license-manager:eu-west-1:123456789012:license-configuration:lic-0123456789abcdef0123456789abcdef"
}

Using terraform import, import license configurations using the id. For example:

% terraform import aws_licensemanager_license_configuration.example arn:aws:license-manager:eu-west-1:123456789012:license-configuration:lic-0123456789abcdef0123456789abcdef