https://github.com/mastodon/terraform-sigsci-backend-sync
Terraform module to sync Fastly's backend configuration with Signal Science's WAF
https://github.com/mastodon/terraform-sigsci-backend-sync
Last synced: 6 months ago
JSON representation
Terraform module to sync Fastly's backend configuration with Signal Science's WAF
- Host: GitHub
- URL: https://github.com/mastodon/terraform-sigsci-backend-sync
- Owner: mastodon
- Created: 2024-03-18T09:38:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-18T14:05:51.000Z (over 1 year ago)
- Last Synced: 2025-03-28T19:38:38.065Z (6 months ago)
- Language: HCL
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mastodon Terraform - Fastly Service for Mastodon Applications
Terraform module for syncing Fastly origin configuration with Signal Sciences' WAF.
When taking advantage of Signal Science's web application firewall, the WAF is essentially inserted as an "origin" in the request chain (client request -> Fastly -> WAF -> origin). This means that, if changes are made to the origin configuration (for example, origin timeouts), the WAF needs to be made aware of these changes and updated with the configuration. This module is intended to be used alongside the [fastly module](https://github.com/mastodon/terraform-fastly-service) when also taking advantage of the WAF.
## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.0.0 |
| [sigsci](#requirement\_sigsci) | ~> 2.1.6 |## Providers
| Name | Version |
|------|---------|
| [sigsci](#provider\_sigsci) | ~> 2.1.6 |## Modules
No modules.
## Resources
| Name | Type |
|------|------|
| [sigsci_edge_deployment_service_backend.backend](https://registry.terraform.io/providers/signalsciences/sigsci/latest/docs/resources/edge_deployment_service_backend) | resource |## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [fastly\_service\_vcl\_active\_version](#input\_fastly\_service\_vcl\_active\_version) | Currently active version of the VCL service to sync to the WAF | `string` | n/a | yes |
| [fastly\_sid](#input\_fastly\_sid) | Fastly Service ID | `string` | n/a | yes |
| [site\_short\_name](#input\_site\_short\_name) | Site short name | `string` | n/a | yes |## Outputs
| Name | Description |
|------|-------------|
| [id](#output\_id) | The ID of the Signal Sciences resource |