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

Remove unused variable storage_os_disk_size_gb #197

Closed
1 task done
lonegunmanb opened this issue Nov 24, 2022 · 5 comments
Closed
1 task done

Remove unused variable storage_os_disk_size_gb #197

lonegunmanb opened this issue Nov 24, 2022 · 5 comments

Comments

@lonegunmanb
Copy link
Member

Is there an existing issue for this?

  • I have searched the existing issues

Description

var.storage_os_disk_size_gb is an unused variable so we should remove it, but removing an exist variable is a breaking change, so we should leave it to a major upgrade.

New or Affected Resource(s)/Data Source(s)

var.storage_os_disk_size_gb

Potential Terraform Configuration

No response

References

No response

@azureterraformbot
Copy link

Thanks for opening this issue!

@yatzek
Copy link
Contributor

yatzek commented Nov 24, 2022

This variable was introduced by #183 not sure why it is unused now

@yatzek
Copy link
Contributor

yatzek commented Nov 24, 2022

Os disk size customisation was removed by #189 I am guessing it was done by mistake?

image

image

@lonegunmanb
Copy link
Member Author

Thanks @yatzek , you've saved my day.

I've added a version upgrade test, a breaking change detect for variables and outputs, but still I've missed such breaking change. I'll compose a new pr to fix it, and re-check current version.

@lonegunmanb
Copy link
Member Author

I've re-check the commit, the only missing parts introduced by #189 is storage_os_disk_size_gb, so I'll submit a new pr to fix it. Again, thanks @yatzek for hit this point.

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

No branches or pull requests

2 participants