-
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
CloudHSM v2 resource & datasource #4125
Conversation
CloudHSM vendor is required for this one to work. |
I merged it with CloudHSMv2_vendor branch, as PR for that one was accepted |
This is good to rebase now -- thanks! 👍 |
@greg-gajda can you please rebase this? |
It is rebased now |
Did you push it up? Still seeing For reference, master has v1.13.32 of cloudhsmv2: |
Previously I merged it with vendor branch (separate PR, already merged) to pass internal checks. |
I presume its just Github not refreshing then. I'd run this and we can see how it looks:
master has v1.13.32 of the SDK vendoring and the Github UI is showing this branch as adding v1.13.28. |
My mistake. |
4f6b773
to
04d236d
Compare
I had some problems with formatting, caused by older version of go. |
04d236d
to
896adcb
Compare
@greg-gajda if you upgrade to Go 1.11 it should work better. 😄 There was a change in Edit: Looks like you figured it out 🎉 I'll take a look at the changes now! |
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 @greg-gajda for your work here! Looks good to me and I think we'll let this release today with the one note below about aws_cloudhsm_v2_cluster
tags
-- please let us know if you have time to fix that up or not at some point in the near future. Thanks again! 🚀
--- PASS: TestAccDataSourceCloudHsm2Cluster_basic (300.54s)
--- PASS: TestAccAWSCloudHsm2Cluster_basic (259.05s)
--- PASS: TestAccAWSCloudHsm2Hsm_basic (1103.11s)
return resourceAwsCloudHsm2ClusterRead(d, meta) | ||
} | ||
|
||
func resourceAwsCloudHsm2ClusterRead(d *schema.ResourceData, meta interface{}) error { |
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.
To properly detect tags
configuration drift, this should include a call to ListTags
😄
https://docs.aws.amazon.com/sdk-for-go/api/service/cloudhsmv2/#CloudHSMV2.ListTags
Generally any additions to ImportStateVerifyIgnore
is a good hint about when additional Read
functionality needs to be implemented.
This has been released in version 1.41.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! |
No description provided.