Skip to content

Commit 016d2d2

Browse files
authored
latest default layers include a good boto3 now
1 parent 75f6ff0 commit 016d2d2

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

data-collection/deploy/module-budgets.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,8 @@ Resources:
111111
import datetime
112112
from json import JSONEncoder
113113
import sys
114-
115-
# update boto3 for list_tags_for_resource api
116-
from pip._internal import main
117-
main(['install', '-I', '-q', 'boto3', '--target', '/tmp/', '--no-cache-dir', '--disable-pip-version-check'])
118-
sys.path.insert(0,'/tmp/')
119-
120-
import boto3 #pylint: disable=C0413
114+
115+
import boto3
121116
122117
BUCKET = os.environ["BUCKET_NAME"]
123118
PREFIX = os.environ["PREFIX"]

0 commit comments

Comments
 (0)