Skip to content
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

Enhance missing suboptions for disk_encryption_key and source_snapsho… #515

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ua6Iiji6
Copy link

…t_encryption_key of module gcp_compute_region_disk.py

SUMMARY

Adding options for CMEK of regional disks

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

gcp_compute_region_disk

ADDITIONAL INFORMATION

…t_encryption_key of module gcp_compute_region_disk.py
Copy link
Collaborator

@toumorokoshi toumorokoshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good!

Can you add some testing around this feature? If there's a test I can run to verify (modifying the existing compute_region_disk test is fine), then I'm happy to merge.

https://github.com/ansible-collections/google.cloud/blob/master/CONTRIBUTING.md

@ua6Iiji6
Copy link
Author

Hi, i was checking the collection, there are no tests implemented for CMEK in the whole collection allthough its already in use. If there would be a blueprint i could transfer it to regional disk. But i'am not able to write these test from scratch for you. I'm very sorry.

@toumorokoshi
Copy link
Collaborator

Does the key need to be CMEK? There's tests for a KMS Crypto Key resource: https://github.com/ansible-collections/google.cloud/blob/master/tests/integration/targets/gcp_kms_crypto_key/tasks/autogen.yml.

Regardless if you don't have the bandwidth, it's not an issue. I'll this PR parked in case someone has time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants