Manages a Cost Anomaly Alert.
- Format and validate Terraform code before commit.
terraform init -upgrade \
&& terraform init -reconfigure -upgrade \
&& terraform fmt -recursive . \
&& terraform fmt -check \
&& terraform validate .
- Always fetch latest changes from upstream and rebase from it. Terraform documentation will always be updated with GitHub Actions. See also .github/workflows/terraform.yml GitHub Actions workflow.
git fetch --all --tags --prune --prune-tags \
&& git pull --rebase --all --prune --tags
No modules.
| Name |
Description |
Type |
Default |
Required |
| app_name |
(Required) Name of this resource within the system it belongs to (see naming convention guidelines). Will be part of the final name of the deployed resource. |
string |
n/a |
yes |
| email_addresses |
(Required) Specifies a list of email addresses which the Anomaly Alerts are send to. |
list(string) |
n/a |
yes |
| email_subject |
(Optional) The email subject of the Cost Anomaly Alerts. Maximum length of the subject is 70. |
string |
null |
no |
| environment |
(Required) The name of the environment. |
string |
n/a |
yes |
| message |
(Optional) The message of the Cost Anomaly Alert. Maximum length of the message is 250. |
string |
"This alert contains the daily anomaly by resource group." |
no |
| override_name |
(Optional) Override the name of the resource. Under normal circumstances, it should not be used. |
string |
null |
no |
| system_short_name |
(Required) Short abbreviation (to-three letters) of the system name that this resource belongs to (see naming convention guidelines). Will be part of the final name of the deployed resource. |
string |
n/a |
yes |