Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yandex-cloud-examples/yc-serverless-apigw-ip-authorizer


https://github.com/yandex-cloud-examples/yc-serverless-apigw-ip-authorizer

Last synced: about 14 hours ago
JSON representation

Awesome Lists containing this project

README

        

# Yandex Cloud demo IP-authorizer for API Gateway

This example demonstrates how you can implement IP-based authorization to restrict access to your API Gateway resources.

## Deploying with terraform

Initialize terraform:
```shell
terraform init
```

Apply terraform spec, using your Yandex Cloud folder id and IP address that must have access to your API Gateway:
```shell
terraform apply -var "yc-token=$(yc iam create-token)" -var "folder-id=" -var "allow-from-ip="
```

Open printed gateway-address link in your web browser.