
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
azure-serverless-openapi-boilerplate
Advanced tools
Boilerplate project for a serverless API with automated OpenAPI specification on Azure Functions
Boilerplate project for a serverless API with automated OpenAPI specification on Azure Functions
This project is currently just me figuring out the best ways to do Serverless APIs in Azure with nice tooling.
Requirements:
In Azure Portal, gather or create the following items:
In your .env
file, fill the missing environment variables.
# .env
export PROJECT_NAME=<unique name for your project>
export ARM_SUBSCRIPTION_ID=<Subscription ID>
export ARM_RESOURCE_GROUP=<Resource Group Name>
export ARM_ACCESS_KEY=<Storage Account Access Key>
Then source the file to load the environment variables.
source .env
If you wish, you can configure the terraform remote backend to a blob storage container.
See terraform-backend.tf.sample
:
terraform {
backend "azurerm" {
storage_account_name = "<Storage Account Name>"
container_name = "<Blob Storage Container Name>"
key = "terraform.tfstate"
}
}
Init Terraform and deploy!
terraform init
terraform apply
To publish your function in the deployed Azure function app:
func azure functionapp publish $PROJECT_NAME-<stage> --zip
FAQs
Boilerplate project for a serverless API with automated OpenAPI specification on Azure Functions
We found that azure-serverless-openapi-boilerplate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.