We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04c45fa commit 04d34adCopy full SHA for 04d34ad
.github/workflows/test.yaml
@@ -31,3 +31,5 @@ jobs:
31
- name: Run boto3 by script
32
run: |
33
python test_boto3.py
34
+ env:
35
+ AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
test_boto3.py
@@ -1,4 +1,8 @@
1
+import os
2
import boto3
3
+
4
ec2 = boto3.client("ec2")
5
ec2.describe_regions()
6
+budgets = session.client("budgets")
7
+budgets.describe_budgets(AccountId=os.environ["AWS_ACCOUNT_ID"])
8
print("success")
0 commit comments