AMPLIFY_BASIC_AUTH_SECRET |
Secret key/password to use for amplify microservice headers - This is entended to be read from CI variables and not commited to any codebase |
string |
"unset" |
no |
amplify_microservice_routes |
An object representing the amplify microservice routing configration |
list(object({ service_prefix = string, service_csi = string, root_dns_record = string, })) |
[] |
no |
aws_account_id |
The AWS Account ID (numeric) |
string |
n/a |
yes |
cdn_sans |
Aliases to associate with CDN |
list(string) |
[] |
no |
cms_origin |
Object to specifiy static domains for CDN |
object({ domain_name = string, origin_path = string, origin_id = string }) |
{ "domain_name": "nhsdigital.github.io", "origin_id": "github-nhs-notify-web-cms", "origin_path": "/nhs-notify-web-cms-dev" } |
no |
component |
The variable encapsulating the name of this component |
string |
"cdn" |
no |
default_tags |
A map of default tags to apply to all taggable resources within the component |
map(string) |
{} |
no |
enable_github_actions_ip_access |
Should the Github actions runner IP addresses be permitted access to this distribution. This should not be enabled in production environments |
bool |
false |
no |
environment |
The name of the tfscaffold environment |
string |
n/a |
yes |
force_lambda_code_deploy |
If the lambda package in s3 has the same commit id tag as the terraform build branch, the lambda will not update automatically. Set to True if making changes to Lambda code from on the same commit for example during development |
bool |
false |
no |
group |
The group variables are being inherited from (often synonmous with account short-name) |
string |
n/a |
yes |
kms_deletion_window |
When a kms key is deleted, how long should it wait in the pending deletion state? |
string |
"30" |
no |
log_level |
The log level to be used in lambda functions within the component. Any log with a lower severity than the configured value will not be logged: https://docs.python.org/3/library/logging.html#levels |
string |
"INFO" |
no |
log_retention_in_days |
The retention period in days for the Cloudwatch Logs events to be retained, default of 0 is indefinite |
number |
0 |
no |
parent_acct_environment |
Name of the environment responsible for the acct resources used, affects things like DNS zone. Useful for named dev environments |
string |
"main" |
no |
project |
The name of the tfscaffold project |
string |
n/a |
yes |
region |
The AWS Region |
string |
n/a |
yes |
waf_rate_limit_cdn |
The rate limit is the maximum number of CDN requests from a single IP address that are allowed in a five-minute period |
number |
20000 |
no |