Last active
July 11, 2023 09:43
-
-
Save greencamp20552/7055da6e1edd53547d3e32405e195d65 to your computer and use it in GitHub Desktop.
Revisions
-
greencamp20552 renamed this gist
Jul 10, 2023 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
greencamp20552 created this gist
Jul 10, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ def attach_group_policy(policy_arn, group_name): iam = boto3.client("iam") response = iam.attach_group_policy( GroupName=group_name, PolicyArn=policy_arn ) print(response)