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

Support managed_disk_type #100

Merged
merged 1 commit into from
Jan 27, 2025
Merged

Conversation

p3ck
Copy link
Contributor

@p3ck p3ck commented Jan 10, 2025

Add support for specifying managed_disk_type. This is a prerequisite for supporting snapshots.

fixes #99

@p3ck p3ck force-pushed the managed_disk_type branch 2 times, most recently from fea2fe7 to 942924a Compare January 10, 2025 19:48
@p3ck p3ck force-pushed the managed_disk_type branch from 942924a to cc71ad0 Compare January 20, 2025 18:52
@p3ck p3ck requested a review from anna-savina January 20, 2025 18:55
@p3ck p3ck force-pushed the managed_disk_type branch 2 times, most recently from e8bc655 to aec7c1d Compare January 22, 2025 18:58
@@ -93,8 +107,6 @@ argument_specs:
description:
- Initial disk size in GB for blank data disks. Cannot be larger than 1023 GB.
- Can only be modified when VM is deallocated.
managed_disk_type:
Copy link
Collaborator

Choose a reason for hiding this comment

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

data_disks.managed_disk_type is valid argument

Copy link
Collaborator

Choose a reason for hiding this comment

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

lun, caching, disk_size_gb, managed_disk_type, storage_account_name, storage_blob_name, storage_container_name are related to data_disks. Should they be data_disk options?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed

@anna-savina
Copy link
Collaborator

No description of managed_disk_type var for OS disk in README.md.
Maybe it's worth naming the managed_disk_type variable differently for the OS disk and for the Data disk? WDYT?

Add support for specifying managed_disk_type.  This is a prerequisite
for supporting snapshots.

Also fixed variable names to include role prefix to prevent variable
collisions.

fixes redhat-cop#99
@p3ck p3ck force-pushed the managed_disk_type branch from aec7c1d to 06ad93a Compare January 23, 2025 14:50
Copy link
Collaborator

@Yaish25491 Yaish25491 left a comment

Choose a reason for hiding this comment

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

Looks good

@Yaish25491 Yaish25491 merged commit 5212df8 into redhat-cop:main Jan 27, 2025
21 checks passed
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.

Add support for managed_disk_type
4 participants