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 azure_object.type to equal Microsoft.Management/managementGroups. #1252

Merged
merged 2 commits into from
Sep 22, 2023

Conversation

kmj251
Copy link
Contributor

@kmj251 kmj251 commented Aug 29, 2023

SUMMARY

Fixes #1240 change if statement to check for correct azure_object type.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

azure_rm_managementgroup_info

ADDITIONAL INFORMATION
"management_groups": [
    {
        "state": "This is an unknown and unexpected object. You should report this as a bug to the ansible-collection/azcollection project on github. Please include the object type in your issue report, and @ the authors of this module. ",
        "tenant_id": "---",
        "type": "Microsoft.Management/managementGroups"
    }
]

Error message no longer displays and it returns management_groups.

@kmj251 kmj251 changed the title Fix azure_object.type to equal Microsoft.Management/managementGroups. Fixes #1240 Fix azure_object.type to equal Microsoft.Management/managementGroups. Aug 29, 2023
@xuzhang3
Copy link
Collaborator

@kmj251 LGTM

@xuzhang3 xuzhang3 merged commit be233cb into ansible-collections:dev Sep 22, 2023
@kmj251
Copy link
Contributor Author

kmj251 commented Sep 22, 2023

@xuzhang3 When do you think this will be released? As it was noted in the corresponding issue, this is a regression that was introduced in 1.16 of the Ansible collection. I use this module extensively and I need to revert to using 1.15 so my playbook doesn't fail. Can we get a 1.17.1 version released immediately? Thanks!

@xuzhang3
Copy link
Collaborator

@kmj25 will be available in v1.18.1

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

Successfully merging this pull request may close these issues.

This is an unknown and unexpected object with azure.azcollection.azure_rm_managementgroup_info
2 participants