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 = var.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
Parameters
-
arn
optional computed - string -
description
optional - string -
id
optional computed - string -
license_count
optional - number -
license_count_hard_limit
optional - bool -
license_counting_type
required - string -
license_rules
optional - list of string -
name
required - string -
owner_account_id
optional computed - string -
tags
optional - map from string to string
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 - useterraform 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.
Parameters
-
ProductSKU
optional - String -
Issuer
required - IssuerData -
LicenseName
required - String -
ProductName
required - String -
HomeRegion
required - String -
Validity
required - ValidityDateFormat -
Entitlements
required - List of Entitlement -
Beneficiary
optional - String -
ConsumptionConfiguration
required - ConsumptionConfiguration -
LicenseMetadata
optional - List of Metadata -
Status
optional - String
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.