Last active
July 11, 2023 09:43
-
-
Save greencamp20552/7055da6e1edd53547d3e32405e195d65 to your computer and use it in GitHub Desktop.
aws-architect-professional
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 characters
| 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) |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://stackoverflow.com/questions/62311866/how-to-use-the-aws-python-sdk-while-connecting-via-sso-credentials