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

fix typo in azurerm_log_analytics_workspace argument: reservation_capcity_in_gb_per_day to reservation_capacity_in_gb_per_day #14910

Merged
merged 2 commits into from
Jan 12, 2022

Conversation

aliscott
Copy link
Contributor

@aliscott aliscott commented Jan 12, 2022

Updates argument name reservation_capcity_in_gb_per_day to reservation_capacity_in_gb_per_day.

@aliscott aliscott changed the title fix typo in azurerm_log_analytics_workspace.reservation_capacity_in_gb_per_day attribute fix typo in azurerm_log_analytics_workspace argument Jan 12, 2022
@favoretti
Copy link
Contributor

favoretti commented Jan 12, 2022

Hi @aliscott, thank you for this PR. Whilst this is unfortunate, there might be cases where people are using this parameter. A such we need to add another one with correct spelling, introduce a deprecation message for the old one and then delete it in later releases (3.0?).

In other cases where typos in arguments were corrected, we basically exclude the possibility to set both and pick the value of the one that's currently set.

Copy link
Contributor

@favoretti favoretti left a comment

Choose a reason for hiding this comment

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

Left a comment in main thread. Arguments needs to be properly deprecated, rather than just renamed. Thanks!

@github-actions github-actions bot added size/M and removed size/XS labels Jan 12, 2022
@aliscott
Copy link
Contributor Author

Thanks @favoretti! That makes a lot of sense. I've updated this based on an example I found here: #13881. Let me know if I'm missing anything else.

Copy link
Contributor

@favoretti favoretti left a comment

Choose a reason for hiding this comment

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

LGTM! Pending maintainers review.

Copy link
Collaborator

@katbyte katbyte 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 spotting and fixing this @aliscott ! LGTM 🏗️

@katbyte katbyte changed the title fix typo in azurerm_log_analytics_workspace argument fix typo in azurerm_log_analytics_workspace argument: reservation_capcity_in_gb_per_day to reservation_capacity_in_gb_per_day Jan 12, 2022
@katbyte katbyte merged commit 071b63a into hashicorp:main Jan 12, 2022
@github-actions github-actions bot added this to the v2.92.0 milestone Jan 12, 2022
katbyte added a commit that referenced this pull request Jan 12, 2022
@github-actions
Copy link

This functionality has been released in v2.92.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!

@github-actions
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 Feb 13, 2022
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.

3 participants