Created
July 29, 2021 03:08
-
-
Save brevityinmotion/1a756a85d2f509b7a441a9c770d78837 to your computer and use it in GitHub Desktop.
Retrieves values from AWS Parameter Store
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 _getParameters(paramName): | |
client = boto3.client('ssm') | |
response = client.get_parameter( | |
Name=paramName | |
) | |
return response['Parameter']['Value'] | |
rawBucketPath = _getParameters('rawBucketPath') | |
refinedBucketPath = _getParameters('refinedBucketPath') | |
inputBucketPath = _getParameters('inputBucketPath') | |
programInputBucketPath = _getParameters('programInputBucketPath') | |
presentationBucketPath = _getParameters('presentationBucketPath') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment