AWS: check validity of KSM key before creating a new encrypted disk.
AWS CreateVolume call does not check if referenced encryption key actually exists and returns a valid new AWS EBS volume even though an invalid key was specified. Later on it removes the EBS silently when its encryption fails. To work around this buggy behavior we manually check that the key exists before calling CreateVolume.
This commit is contained in:
6886
vendor/github.com/aws/aws-sdk-go/service/kms/api.go
generated
vendored
Normal file
6886
vendor/github.com/aws/aws-sdk-go/service/kms/api.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user