-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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 for seeing provider version history of each resource type #20836
Comments
I really like this idea! Would be great to have an overview of changes of only the used resources before a module gets upgraded! It should not be to hard to script something specific for |
Maybe we can provide a tool that scan CHANGELOG file for such line:
Then we could get a resource/data - version map. |
That get's you the version a resource is created in, but not when a change is introduced or a bug fixed You do have enhancement and bug fix lines that might help e.g.
Funnily enough - just encounter the FD origin host header bug last week ;-) And the bug report/enhancement might also allow tracking to a resource type. This would get 90% of them, some are a bit more problematic in that the naming doesn't help associate to a resource type
But I'm not sure those are directly relevant. So you have three phases I think
|
hey @phatcher Thanks for opening this issue. Taking a look through here unfortunately this probably isn't something we're able to provide since the information within the changelog is intended for human consumption rather than intended to be processed in an automated fashion. Whilst we endeavour for this to contain information about every resource affected by a given change, since this is computed by hand it's possible for these items to be phrased slightly differently - and so there isn't a reliable means of doing this unfortunately. One such example would be updating the Base Layer used in Whilst you'd be welcome to build your own tooling around this (and given the folder structure of the provider, I'd probably look to use the specific file paths to determine which resources are likely affected) - unfortunately this isn't something we plan to provide at this time and as such I'm going to close this issue for the moment. That said, I do think there's an interesting point here around making upgrades easier/more obvious, and as such I'd encourage you to open an issue on the Thanks! |
@phatcher I have a tool that can generate a change report between two provider versions, in terms of schema changes, if you are interested in: https://github.com/magodo/tfpluginbcd |
@tombuildsstuff Thanks for the update, I realized it was a stretch |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Is there an existing issue for this?
Community Note
Description
I'm maintaining a module framework (~70 resource types) for building Azure PaaS applications and so I have to align it's capabilities against the versions of each resource within the AzureRm provider.
For safety/consistency, each module is locked to the specific provider version and to see if I have any work to do, I have to examine each release to see if it covers a type that has been implemented and it it has an impact on the module framework,
What would be nice is a per-resource type version history so I can quickly scan the interesting resource types. I understand it might be of limited use to most people but would also help when migrating scripts rather than updating to the latest and fixing any issues.
I'm hoping this is fairly easily implemented by processing the version log/commit history, if not please ignore
New or Affected Resource(s)/Data Source(s)
azurerm_XXXX
Potential Terraform Configuration
No response
References
No response
The text was updated successfully, but these errors were encountered: