Skip to content

Commit

Permalink
Fixes GoogleCloudPlatform#162: [DM] IAM_member folder and org support
Browse files Browse the repository at this point in the history
GoogleCloudPlatform#162
GoogleCloudPlatform#151

Added support for folders and organizations:
gcp-types/cloudresourcemanager-v1:virtual.projects.iamMemberBinding
gcp-types/cloudresourcemanager-v2:virtual.folders.iamMemberBinding
gcp-types/cloudresourcemanager-v1:virtual.organizations.iamMemberBinding

Updated tests to be non-interactive + added tests for folders

Fixed removal of mid-list members
  • Loading branch information
nick4fake committed Jul 4, 2019
1 parent 5cf6d57 commit bca8b50
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions dm/templates/iam_member/iam_member.py.schema
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,21 @@ additionalProperties: false
required:
- roles

oneOf:
- required:
- folderId
- required:
- organizationId
- required:
- projectId
- allOf:
- not:
required:
- folderId
- not:
required:
- organizationId

properties:
folderId:
type: string
Expand Down

0 comments on commit bca8b50

Please sign in to comment.