Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/yandex-cloud-examples/yc-serverless-apigw-ip-authorizer
- Owner: yandex-cloud-examples
- License: apache-2.0
- Created: 2023-09-05T17:51:30.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-18T13:32:59.000Z (about 1 year ago)
- Last Synced: 2023-10-18T14:37:51.674Z (about 1 year ago)
- Language: HCL
- Size: 6.84 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.