-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Resources: aws_licensemanager_grant
and aws_licensemanager_grant_accepter
, New Datasources: aws_licensemanager_received_license
, aws_licensemanager_received_licenses
, and aws_licensemanager_grants
#29741
New Resources: aws_licensemanager_grant
and aws_licensemanager_grant_accepter
, New Datasources: aws_licensemanager_received_license
, aws_licensemanager_received_licenses
, and aws_licensemanager_grants
#29741
Conversation
Community NoteVoting for Prioritization
For Submitters
|
aws_licensemanager_grant
aws_licensemanager_grant
and aws_licensemanager_grant_accepter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, @brittandeyoung. I have a few comments on the work so far
aws_licensemanager_grant
and aws_licensemanager_grant_accepter
, New Datasources: aws_licensemanager_received_license
, aws_licensemanager_received_licenses
, and aws_licensemanager_grants
` aws_licensemanager_grant
and aws_licensemanager_grant_accepter
, New Datasources: aws_licensemanager_received_license
, aws_licensemanager_received_licenses
, and aws_licensemanager_grants
…needed fmt.Sprint
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for submitting this, @brittandeyoung. I've made a few changes to simplify the acceptance tests.
Acceptance test results
--- PASS: TestAccLicenseManagerLicenseConfiguration_disappears (27.38s)
--- PASS: TestAccLicenseManagerReceivedLicensesDataSource_empty (27.87s)
--- PASS: TestAccLicenseManagerReceivedLicenseDataSource_basic (28.33s)
--- PASS: TestAccLicenseManagerReceivedLicensesDataSource_basic (29.37s)
--- PASS: TestAccLicenseManagerLicenseConfiguration_basic (35.31s)
--- PASS: TestAccLicenseManagerLicenseConfiguration_update (56.02s)
--- PASS: TestAccLicenseManagerLicenseConfiguration_tags (73.45s)
--- PASS: TestAccLicenseManagerAssociation_disappears (106.01s)
--- PASS: TestAccLicenseManagerAssociation_basic (113.01s)
--- PASS: TestAccLicenseManagerGrant_serial (311.02s)
--- PASS: TestAccLicenseManagerGrant_serial/grant (179.50s)
--- PASS: TestAccLicenseManagerGrant_serial/grant/basic (41.98s)
--- PASS: TestAccLicenseManagerGrant_serial/grant/disappears (27.45s)
--- PASS: TestAccLicenseManagerGrant_serial/grant/name (110.05s)
--- PASS: TestAccLicenseManagerGrant_serial/grant_accepter (88.53s)
--- PASS: TestAccLicenseManagerGrant_serial/grant_accepter/basic (68.51s)
--- PASS: TestAccLicenseManagerGrant_serial/grant_accepter/disappears (20.02s)
--- PASS: TestAccLicenseManagerGrant_serial/grant_data_source (42.98s)
--- PASS: TestAccLicenseManagerGrant_serial/grant_data_source/basic (26.63s)
--- PASS: TestAccLicenseManagerGrant_serial/grant_data_source/empty (16.35s)
This functionality has been released in v4.58.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
This PR adds a new resource to allow managing
aws_licensemanager_grant
andaws_licensemanager_grant_accepter
within terraform. In the raised issue, the initial thought was to haveaws_licensemanager_grant
andaws_licensemanager_grant_version
be separate resources. In reviewing the API, the CreateGrantVersion seamed to have the behavior of updating an existinggrant
, because of this I feel it would be better handled all in one resource. Would love feedback on if this is a good direction, or not.The PR also implements the following two new datasource:
aws_licensemanager_received_license
,aws_licensemanager_received_licenses
, andaws_licensemanager_grants
for getting data on licenses from the AWS market place.As this requires multiple accounts to test, three environment variables must be set in order to run the acceptance tests.
Relations
Closes #17146
References
Output from Acceptance Testing