You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.1 KiB
JSON
36 lines
1.1 KiB
JSON
{
|
|
"dev": {
|
|
"app_function": "secretshare.app.app",
|
|
"aws_region": "us-west-2",
|
|
"profile_name": "default",
|
|
"project_name": "secretshare",
|
|
"log_level": "INFO",
|
|
"runtime": "python3.6",
|
|
"s3_bucket": "##CHANGEME##",
|
|
"cors": {
|
|
"allowed_headers": ["content-type"],
|
|
"allowed_methods": ["*"],
|
|
"allowed_origin": "*"
|
|
},
|
|
"environment_variables": {
|
|
"FLASK_SECRETS": "config.py"
|
|
},
|
|
"events": [{
|
|
"function": "secretshare.cleanup.purge_expired_secrets",
|
|
"expression": "rate(12 hours)"
|
|
}],
|
|
"extra_permissions": [{
|
|
"Effect": "Allow",
|
|
"Action": [
|
|
"secretsmanager:ListSecrets",
|
|
"secretsmanager:DescribeSecret",
|
|
"secretsmanager:DeleteSecret",
|
|
"secretsmanager:GetSecretValue",
|
|
"secretsmanager:CreateSecret",
|
|
"secretsmanager:TagResource"
|
|
],
|
|
"Resource": "*"
|
|
}]
|
|
}
|
|
}
|