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

vmss - support specifying ultra_ssd_disk_iops_read_write and ultra_ssd_disk_mbps_read_write for PremiumV2_LRS #21530

Merged
merged 2 commits into from
May 11, 2023

Conversation

myc2h6o
Copy link
Contributor

@myc2h6o myc2h6o commented Apr 25, 2023

Close #21108

},
},
},
}

if !features.FourPointOhBeta() {
schema.Elem.(*pluginsdk.Resource).Schema["ultra_ssd_disk_iops_read_write"] = &pluginsdk.Schema{
Copy link
Member

Choose a reason for hiding this comment

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

When we switch to plugin framework this may not work as expected anymore - could we add a TODO to make the rename in 4.0 instead of doing the deprecation? Whilst we would normally recommend doing a deprecation here, this could cause confusion because all four fields are computed.

Copy link
Member

@catriona-m catriona-m left a comment

Choose a reason for hiding this comment

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

Hi @myc2h6o thanks for this! I left one comment inline about the deprecation portion of this change - it would be good if we did this in 4.0 rather as a deprecation here. As such, could we rework this to include only the validation change? Thanks!

@myc2h6o myc2h6o changed the title vmss - support specifying disk_iops_read_write and disk_mbps_read_write for PremiumV2_LRS vmss - support specifying ultra_ssd_disk_iops_read_write and ultra_ssd_disk_mbps_read_write for PremiumV2_LRS May 9, 2023
@myc2h6o
Copy link
Contributor Author

myc2h6o commented May 9, 2023

Hi @catriona-m thanks for reviewing the change! I see your point and use comments instead, please take a look

Copy link
Member

@catriona-m catriona-m left a comment

Choose a reason for hiding this comment

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

Thanks for updating with these changes @myc2h6o - LGTM!

@catriona-m catriona-m merged commit e6a41a8 into hashicorp:main May 11, 2023
@github-actions github-actions bot added this to the v3.56.0 milestone May 11, 2023
catriona-m added a commit that referenced this pull request May 11, 2023
@myc2h6o myc2h6o deleted the vmss_iops_mbps branch May 11, 2023 13:19
@github-actions
Copy link

This functionality has been released in v3.56.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PremiumV2_LRS data disks attached to linux scale set VMs don't allow configuration of IOPs and MBps
2 participants