Skip to content

Lambda - URL Invoking

#week_ten - Invoke function via function URL


duration: 1 week

ForgTech company wanna test your ability to type down a clean code by Deploying the structure of resources. This will help you to build a good reputation.

FrogTech intends to automate some processes and configurations on EFS mounted Disk By internal scripts created by Developers.

You’re requested to use lambda function that mounts The EFS disk to submit and configure the passed parameters to the function event. The Developers will provide directory names as event values and your mission to create directories based on passed values.

Hence, the developers will pass values to the function event and the function will Create directories into the mounted EFS with the passed event values.

Next, You should test and provide FrogTech developers with the function URL in order to include it into their scripts using the curl command, FrogTech Developers will be using curl command to trigger & pass values to the function.

FrogTech is required to use high-level HCL language techniques, by Crafting a subnet resources module, Package your library dependencies as a ZIP file, and using it in the lambda layer instead.



Use IaC Terraform to build all resources and consider the below requirements specifications.

  1. Resources must be created at the us-east-1 region.
  2. Resources must have common tags combination as below:
  3. Common tags:
    • Key: “Environment”, Value: “terraformChamps”
    • Key: “Owner”, Value: <“Your_first_name“>

Bouns

  1. Build an Architecture diagram of the deployment resources.
  2. Build your own blog and create an article explaining lambda tricks, instead of using documents.

References: