serverless-beacon

aehrc/serverless-beacon/aws

Terraform Module HCL AWS

Implementation of Beacon in a serverless (FaaS) manner, to enable cheaper and more versatile (e.g. over distributed datasets) queries

Install
module "serverless-beacon" {
source = "aehrc/serverless-beacon/aws"
version = "2.0.2"
}
plain text: /constructs/tfmod-aehrc-serverless-beacon-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

Serverless Beacon ![Code style: black](https://github.com/psf/black) !assets/logo-black.png Contents - Why serverless? - Introduction to sBeacon - Installation Option 1: Setting up the development environment on Amazon Linux Option 2: Using the docker image - Deployment Direct deployment Use as a module - Development - API Usage Example data Data ingestion API Query API - Securing the API - Troubleshooting Illegal instruction (core dumped) Provider produced inconsistent final plan Why serverless? Serverless means the service does not require any servers to be provisioned. The idea is to minimise running costs, as well as support arbitrary scalablility. It also means setup is very fast. Introduction to sBeacon sBeacon implements Beacon v2 protocol according to the ga4gh specification. sBeac

Inputs (34)
NameTypeDescriptionDefault
beacon-default-granularitystringValue for beacon default granularity"boolean"
organisation-namestringName of the organisation providing the beacon."CSIRO"
beacon-idstringUnique identifier of the beacon. Use reverse domain name notation."au.csiro.sbeacon"
beacon-alternative-urlstringValue for beacon alternative url"https://bioinformatics.csiro.au/"
beacon-documentation-urlstringValue for beacon documentation url"https://github.com/EGA-archive/beacon2-
beacon-org-welcome-urlstringValue for beacon organisation welcome url"https://bioinformatics.csiro.au/"
regionstringDeployment region."us-east-1"
beacon-descriptionstringValue for beacon description"Serverless Beacon (sBeacon)"
beacon-versionstringValue for beacon version"v0.1.0"
beacon-org-descriptionstringValue for beacon organisation description"CSIRO, Australia"
beacon-org-contact-urlstringValue for beacon organisation contact url"https://bioinformatics.csiro.au/get-in-
common-tagsmap(string)A set of tags to attach to every created resource.{}
beacon-environmentstringValue for beacon environment"dev"
beacon-guest-usernamestringValue for guest username (must be an email)"guest@example.com"
organisation-idstringUnique identifier of the organisation providing the beacon."CSIRO"
beacon-service-type-groupstringValue for beacon service type group"au.csiro"
beacon-service-type-versionstringValue for beacon service type version"1.0"
beacon-enable-authboolFlag to enable API authenticationfalse
beacon-admin-usernamestringValue for admin username (must be an email)"admin@example.com"
beacon-namestringHuman readable name of the beacon."CSIRO Serverless Beacon"
Outputs (4)
api_url — URL used to invoke the API.
cognito_client_id — Cognito client Id for user registration and login.
admin_login_command — Command to sign in an admin
guest_login_command — Command to sign in a guest
Resources (31)
aws_api_gateway_authorizeraws_api_gateway_deploymentaws_api_gateway_integrationaws_api_gateway_integration_responseaws_api_gateway_methodaws_api_gateway_method_responseaws_api_gateway_resourceaws_api_gateway_rest_apiaws_api_gateway_stageaws_athena_workgroupaws_cognito_useraws_cognito_user_groupaws_cognito_user_in_groupaws_cognito_user_poolaws_cognito_user_pool_clientaws_dynamodb_tableaws_glue_catalog_databaseaws_glue_catalog_tableaws_glue_crawleraws_iam_policyaws_iam_roleaws_iam_role_policy_attachmentaws_lambda_layer_versionaws_lambda_permissionaws_s3_bucketaws_s3_bucket_aclaws_s3_bucket_lifecycle_configurationaws_s3_bucket_ownership_controlsaws_sns_topicaws_sns_topic_subscriptionnull_resource
Details
FrameworkTerraform Module
LanguageHCL
Version2.0.2
Cloud AWS
★ Stars12
Forks8
Total downloads6.5k
Inputs34
Outputs4
Resources31
Examples2
LicenseNOASSERTION
Namespaceaehrc
Updated