Skip to content

Conversation

@magodo
Copy link
Collaborator

@magodo magodo commented Aug 29, 2025

With #643, the resource mode will always need to use azlist to do a GET for each resource, no matter if it is necessary or not. Due to the design of azlist, it internally uses a resource type file to lookup the correct API versions to use for each resource type. This might cause issues if the resource type is a relatively new one, which is not available in the (outdated) resource type file (see: #648).

Instead, if the user doesn't need to query more resources than what are specified (e.g. child resource, extension resource, etc.), there is no need to call into azlist. In this case, we can simply return the resource set as is specified.

Additionally, this PR removes the Properties from type resourceset.AzureResource. The Properties are meant to be returned from azlist, and is used only for one specific case of populating managed disks for VM. This is not needed any more, which was introduced before aztft exits, and was leveraging the ARM template. See: #34.

@magodo magodo added the enhancement New feature or request label Aug 29, 2025
@magodo magodo merged commit 6b231bf into Azure:main Aug 29, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants