AWS License Manager License Configuration

This page shows how to write Terraform and CloudFormation for License Manager License Configuration and write them securely.

aws_licensemanager_license_configuration (Terraform)

The License Configuration in License Manager can be configured in Terraform with the resource name aws_licensemanager_license_configuration. The following sections describe 2 examples of how to use the resource and its parameters.

Example Usage from GitHub
resource "aws_licensemanager_license_configuration" "tfsquad" {
  name                     =
  license_counting_type    = var.license_counting_type
  tags                     = var.tags
  license_count_hard_limit = var.license_count_hard_limit
  license_count            = var.license_count
resource "aws_licensemanager_license_configuration" "this" {
  description              = var.description
  license_count            = var.license_count
  license_count_hard_limit = var.license_count_hard_limit
  license_counting_type    = var.license_counting_type
  license_rules            = var.license_rules

Review your Terraform file for AWS best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).


Explanation in Terraform Registry

Provides a License Manager license configuration resource.

Note: Removing the license_count attribute is not supported by the License Manager API - use terraform taint aws_licensemanager_license_configuration.<id> to recreate the resource instead.

AWS::LicenseManager::License (CloudFormation)

The License in LicenseManager can be configured in CloudFormation with the resource name AWS::LicenseManager::License. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.


Explanation in CloudFormation Registry

Specifies a granted license.

Granted licenses are licenses for products that your organization purchased from AWS Marketplace or directly from a seller who integrated their software with managed entitlements. For more information, see Granted licenses in the AWS License Manager User Guide.

Frequently asked questions

What is AWS License Manager License Configuration?

AWS License Manager License Configuration is a resource for License Manager of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.

Where can I find the example code for the AWS License Manager License Configuration?

For Terraform, the gauravgitdir/Jack and niveklabs/aws source code examples are useful. See the Terraform Example section for further details.