Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions sumologic-app-utils/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ if [ ! -f sumo_app_utils.zip ]; then
echo "creating zip file"
mkdir python
cd python
pip install crhelper -t .
pip install requests -t .
pip install retrying -t .
pip3 install crhelper -t .
pip3 install requests -t .
pip3 install retrying -t .
cp -v ../src/*.py .
zip -r ../sumo_app_utils.zip .
cd ..
rm -r python
fi

version="2.0.9"
version="2.0.15"

aws s3 cp sumo_app_utils.zip s3://$SAM_S3_BUCKET/sumo_app_utils/v"$version"/sumo_app_utils.zip --region $AWS_REGION --acl public-read

Expand Down
4 changes: 2 additions & 2 deletions sumologic-app-utils/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def create(event, context):
data, resource_id = resource.create(**params)
except Exception as e:
raise e
print(data)
#print(data)
print(resource_id)
helper.Data.update(data)
helper.Status = "SUCCESS"
Expand All @@ -42,7 +42,7 @@ def create(event, context):
def update(event, context):
resource, resource_type, params = get_resource(event)
data, resource_id = resource.update(**params)
print(data)
#print(data)
print(resource_id)
helper.Data.update(data)
helper.Status = "SUCCESS"
Expand Down
Binary file modified sumologic-app-utils/sumo_app_utils.zip
Binary file not shown.