# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# Copyright The Cloud Custodian Authors.
# SPDX-License-Identifier: Apache-2.0
import hashlib
import logging
import operator
import os