-
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
r/aws_licensemanager: Add aws_licensemanager_license_configuration resource #6835
Conversation
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 so much as usual, @gazoakley 👍 A few little things then we can get this in.
Thanks @bflad - I'll address the review comments shortly. From a design perspective I'm thinking There also seems to be a bug in the License Manager API that prevents removing
|
I would only do this if we can get confirmation from the AWS License Manager service team that the format will always follow a single
Does the API throw a decent error? Is this planned on getting fixed? If it will be fixed, at most we should create a better error message, otherwise we should just pass the existing error through and potentially document the upstream issue. This doesn't seem like it should hold up releasing the resource or block other working update behavior with |
The API throws an error message if you don't specify it in that format:
It just silently returns success if you don't specify a value for |
Fantastic compromise. 😄 Someone will complain if/when its out of date.
I think this is good for now. 👍 |
@bflad: Updated 😄 |
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.
LGTM, thanks @gazoakley! 🚀
--- PASS: TestAccAWSLicenseManagerLicenseConfiguration_basic (4.52s)
--- PASS: TestAccAWSLicenseManagerLicenseConfiguration_update (7.36s)
This has been released in version 1.53.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Reference: #6654
Changes proposed in this pull request:
aws_licensemanager_license_configuration
Output from acceptance testing: