maintenance
adinhodovic/maintenance/cloudflare
Terraform module to create a responsive Maintenance Page using Cloudflare Workers.
Terraform-Cloudflare-Maintenance Terraform module to create a responsive Maintenance Page using Cloudflare Workers. The Cloudflare script intercepts all incoming requests and checks if the request is coming from an IP that is in the whitelist or if the request path matches a whitelisted path. If the request is not whitelisted, it returns a maintenance page. The module can be used through Terraform's registry. Preview !Preview You can preview the full page here. Usage A detailed explanation of the implementation can be found here. Export cloudflare credentials ``bash TF_VAR_cloudflare_email=xxx TF_VAR_cloudflare_api_key=xxx TF_VAR_cloudflare_account_id=xxx ` If using a token, make sure it has all the necessary permissions Simple maintenance page with your logo, fav icon, company name, font
| Name | Type | Description | Default |
|---|---|---|---|
| cloudflare_zone | string | required | |
| patterns | list(string) | The DNS pattern list to deploy the maintenance page to. | required |
| company_name | string | required | |
| string | The email address to used for support inquiries. | required | |
| logo_url | string | The logo to be displayed. | required |
| statuspage_url | string | The status page address to get updated information. | "null" |
| favicon_url | string | The favicon to be displayed. Defaults to a maintenance icon from the web. | "https://cdn1.iconfinder.com/data/icons/ |
| image_url | string | The main image to be displayed. | "https://i.imgur.com/0uJkCM8.png" |
| font | string | [Google font](https://fonts.google.com/) that should be used. | "Poppins" |
| info_html | string | The HTML to be displayed in the info section. | "\u003ch1\u003eOur site is currently dow |
| enabled | bool | Flag to create/delete the worker route. | true |
| whitelist_ips | string | The IPs that are whitelisted to bypass the maintenance page. | "null" |
| whitelist_path | string | The paths that are whitelisted defined with a regex expression to bypass the mai | "null" |
| account_id | string | Cloudflare account id | null |
Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,