-
Notifications
You must be signed in to change notification settings - Fork 677
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
Adding changes for replacement of key_protect parameter and adding the fix for 3394 #4618
Adding changes for replacement of key_protect parameter and adding the fix for 3394 #4618
Conversation
All the files I have linked above still make reference to
using |
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
} else { | ||
d.Set("kms_key_crn", head.IBMSSEKPCrkId) | ||
} | ||
} else { |
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.
Why are we seeting empty ?
Description: "CRN of the key you want to use data at rest encryption", | ||
Type: schema.TypeString, | ||
ForceNew: true, | ||
Optional: true, |
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.
Do we need to mark this as deprecated
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.
As of now we are not deprecating the key_protect parameter.
we will just be recommending new customers to use the new parameter.
…e fix for 3394 (IBM-Cloud#4618) * Adding the fix for issue 3394 and 1947 * Adding documentation for kms resource * Changes to kms example ,readme and test * Addressing the PR comment for code formatting * removing unnecessary changes from datasource
Test results :
--- PASS: TestAccIBMCOSKPKmsParamValid (84.76s)
PASS
ok github.com/IBM-Cloud/terraform-provider-ibm/ibm/service/cos 86.384s
--- PASS: TestAccIBMCOSKPKmsParamWithInvalidCRN (49.70s)
PASS
ok github.com/IBM-Cloud/terraform-provider-ibm/ibm/service/cos 51.390s
--- PASS: TestAccIBMCOSHPCSKmsParamWithInvalidCRN (44.35s)
PASS
ok github.com/IBM-Cloud/terraform-provider-ibm/ibm/service/cos 114.080s
--- PASS: TestAccIBMCOSHPCSKmsParamWithInvalidCRN (44.35s)
PASS
ok github.com/IBM-Cloud/terraform-provider-ibm/ibm/service/cos (cached)
--- PASS: TestAccIBMCOSKMSBothParamProvided (0.34s)
PASS
ok github.com/IBM-Cloud/terraform-provider-ibm/ibm/service/cos 1.835s
KMS test cases
=== RUN TestAccIBMKMSResource_basic
--- PASS: TestAccIBMKMSResource_basic (242.06s)
PASS
ok github.com/IBM-Cloud/terraform-provider-ibm/ibm/service/kms 244.089s