Skip to content

Commit 1659436

Browse files
feat(IAM Policy Management): support new query param source_group_id for v2/roles (#194)
Signed-off-by: Rajesh K Pirati <[email protected]>
1 parent 6639174 commit 1659436

File tree

4 files changed

+664
-461
lines changed

4 files changed

+664
-461
lines changed

examples/test_iam_policy_management_v1_examples.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def test_create_v2_policy_example(self):
265265
policy_resource = V2PolicyResource(
266266
attributes=[account_id_resource_attribute, service_name_resource_attribute], tags=[policy_resource_tag]
267267
)
268-
policy_control = Control(grant=V2PolicyGrant(roles=[policy_role]))
268+
policy_control = Control(grant=Grant(roles=[policy_role]))
269269
policy_rule = V2PolicyRuleRuleWithConditions(
270270
operator='and',
271271
conditions=[
@@ -352,7 +352,7 @@ def test_replace_v2_policy_example(self):
352352
policy_resource = PolicyResource(
353353
attributes=[account_id_resource_attribute, service_name_resource_attribute], tags=[policy_resource_tag]
354354
)
355-
policy_control = Control(grant=V2PolicyGrant(roles=[updated_policy_role]))
355+
policy_control = Control(grant=Grant(roles=[updated_policy_role]))
356356
policy_rule = V2PolicyRuleRuleWithConditions(
357357
operator='and',
358358
conditions=[

0 commit comments

Comments
 (0)