I'm using aws_licensemanager_grant to share marketplace licenses with child accounts in my AWS organisation. However, after creating a license grant, it must be manually activated via the AWS CLI using the following command:
aws license-manager create-grant-version --grant-arn arn:aws:license-manager::123456789:grant:g-123456789abcdef123456789 --client-token=123456789 --status ACTIVE
Proposal:
I propose introducing a new Terraform resource, aws_licensemanager_grant_activator, which will automate the activation of a License Manager grant. This resource should follow a similar pattern to the existing aws_licensemanager_grant_accepter resource and handle the license activation process seamlessly within Terraform.
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Description
I'm using
aws_licensemanager_grant
to share marketplace licenses with child accounts in my AWS organisation. However, after creating a license grant, it must be manually activated via the AWS CLI using the following command:Proposal:
I propose introducing a new Terraform resource,
aws_licensemanager_grant_activator
, which will automate the activation of a License Manager grant. This resource should follow a similar pattern to the existingaws_licensemanager_grant_accepter
resource and handle the license activation process seamlessly within Terraform.Affected Resource(s) and/or Data Source(s)
No response
Potential Terraform Configuration
References
https://docs.aws.amazon.com/license-manager/latest/userguide/grant-acceptance.html
Would you like to implement a fix?
None