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

Add management_group resources #332

Merged
merged 6 commits into from
Nov 17, 2020
Merged

Add management_group resources #332

merged 6 commits into from
Nov 17, 2020

Conversation

omerdemirok
Copy link
Contributor

@omerdemirok omerdemirok commented Nov 11, 2020

Description

  • Re-write management group(s) resources with the new backend
  • Fix some typos
  • Update integration tests

Issues Resolved

Resolves #328

Check List

Omer Demirok added 3 commits November 11, 2020 11:49
Signed-off-by: Omer Demirok <odemirok@chef.io>
Signed-off-by: Omer Demirok <odemirok@chef.io>
Signed-off-by: Omer Demirok <odemirok@chef.io>
@omerdemirok omerdemirok added the Version: Bump Minor Used by github.minor_bump_labels to bump the Minor version number. label Nov 11, 2020
@omerdemirok omerdemirok requested a review from a team as a code owner November 11, 2020 17:29
@omerdemirok omerdemirok self-assigned this Nov 11, 2020
@omerdemirok omerdemirok changed the title Add management_group resources Add management_group resources (WIP) Nov 12, 2020
Omer Demirok added 2 commits November 12, 2020 17:08
Signed-off-by: Omer Demirok <odemirok@chef.io>
@omerdemirok omerdemirok changed the title Add management_group resources (WIP) Add management_group resources Nov 13, 2020
'$recurse' => opts[:recurse] || false,
}
opts[:query_parameters].merge!('$expand' => opts[:expand]) unless opts[:expand].nil?
# Note that $expand=children must be passed up if $recurse is set to true.
Copy link
Contributor

Choose a reason for hiding this comment

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

This code answers my question... I think the wording should be changed slightly. $expand=children must be set if $recurse is set to true.
OR
$expand=children will be set if $recurse is set to true.

Copy link
Contributor

Choose a reason for hiding this comment

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

could this comment also be updated for consistency?

Copy link
Contributor

@rmoles rmoles left a comment

Choose a reason for hiding this comment

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

Thanks @omerdemirok great work as always. Just a small comment regarding wording.

Signed-off-by: Omer Demirok <odemirok@chef.io>
@omerdemirok omerdemirok merged commit c5590a6 into master Nov 17, 2020
@omerdemirok omerdemirok deleted the management_group branch November 17, 2020 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Version: Bump Minor Used by github.minor_bump_labels to bump the Minor version number.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Please Convert azurerm_management_group resources to use the new generic resource
2 participants