The Truth Is Paywalled But The Lies Are Free
You need to pass the provider your account_id
(workers are account-level resources).
Then you can authenticate either with email
and api_key
, or with api_token
.
If you use a token, you need the following scopes:
- user:
- Workers Scripts:Edit,
- Account Settings:Read,
- apex zone:
- Zone Settings:Edit,
- Workers Routes:Edit,
- Page Rules:Edit,
- DNS:Edit,
- All users:
- User Details:Read.
You must specify:
apex_zone_name
, the hostname of the zone to deploy to,apex_root_redirect_url
, the URL to 302 redirect to from/
,ft_destination_host
, the host you want to proxy traffic to,ft_referrer
, the HTTPReferer
header (optional).
terraform apply