Cloudflare Setup for a new SaaS Startup
Includes:
- Cloudflare Zone
- Cloudflare SSL Encryption
- Cloudflare for Teams
- Gmail MX Records
- AWS SES
locals {
subdomains = [
{
name = "@"
value = "longtld.elb.us-west-2.amazonaws.com"
type = "CNAME"
proxied = true
},
{
name = "app"
value = "longtlkd.elb.us-west-2.amazonaws.com"
type = "CNAME"
proxied = true
}
]
}
module "parking" {
source = "github.com/opszero/terraform-cloudflare-domain"
domain = "example.com"
records = local.subdomains
}
terraform init
terraform plan
terraform apply -auto-approve
terraform destroy -auto-approve
Name | Version |
---|---|
aws | n/a |
cloudflare | n/a |
Name | Description | Type | Default | Required |
---|---|---|---|---|
access | List of access applications | list |
[] |
no |
account_id | Cloudflare account id | any |
n/a | yes |
aws_ses_enabled | Create AWS SES resources | bool |
false |
no |
domain | domain for the webapp | any |
n/a | yes |
google_email_enabled | Enable Google MX Records | bool |
true |
no |
records | List of DNS records | list |
[] |
no |
ssl_forced | Force SSL on Domains | bool |
true |
no |
Name | Type |
---|---|
aws_ses_domain_dkim.dkim | resource |
aws_ses_domain_identity.ses | resource |
cloudflare_access_application.access | resource |
cloudflare_access_policy.support_policy | resource |
cloudflare_page_rule.ssl | resource |
cloudflare_record.dkim | resource |
cloudflare_record.mx | resource |
cloudflare_record.records | resource |
cloudflare_record.ses | resource |
cloudflare_record.spf | resource |
cloudflare_zone.site | resource |
No outputs.
Since 2016 opsZero has been providing Kubernetes expertise to companies of all sizes on any Cloud. With a focus on AI and Compliance we can say we seen it all whether SOC2, HIPAA, PCI-DSS, ITAR, FedRAMP, CMMC we have you and your customers covered.
We provide support to organizations in the following ways:
- Modernize or Migrate to Kubernetes
- Cloud Infrastructure with Kubernetes on AWS, Azure, Google Cloud, or Bare Metal
- Building AI and Data Pipelines on Kubernetes
- Optimizing Existing Kubernetes Workloads
We do this with a high-touch support model where you:
- Get access to us on Slack, Microsoft Teams or Email
- Get 24/7 coverage of your infrastructure
- Get an accelerated migration to Kubernetes
Please schedule a call if you need support.