Skip to content

Commit

Permalink
chore: updating the example
Browse files Browse the repository at this point in the history
  • Loading branch information
gambol99 committed May 18, 2024
1 parent d57b30c commit 5008e1e
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
*.tfstate
*.tfstate.*

# Lambda
builds/

# Crash log files
crash.log
crash.*.log
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,7 @@ clean:
echo "--> Removing $$dir"; \
rm -rf $$dir; \
done
@find . -type d -name "builds" | while read -r dir; do \
echo "--> Removing $$dir"; \
rm -rf $$dir; \
done
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ The `terraform-docs` utility is used to generate this README. Follow the below s

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.47.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.49.0 |

## Modules

Expand Down
4 changes: 2 additions & 2 deletions examples/basic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_notification_email_addresses"></a> [notification\_email\_addresses](#input\_notification\_email\_addresses) | The list of email addresses to notify | `list(string)` | `[]` | no |
| <a name="input_notification_secret_name"></a> [notification\_secret\_name](#input\_notification\_secret\_name) | The name of the secret that contains the notification configuration | `string` | n/a | yes |
| <a name="input_tags"></a> [tags](#input\_tags) | A map of tags to add to the resources | `map(string)` | `{}` | no |
| <a name="input_notification_secret_name"></a> [notification\_secret\_name](#input\_notification\_secret\_name) | The name of the secret that contains the notification configuration | `string` | `"cost-anomaly-notification"` | no |
| <a name="input_tags"></a> [tags](#input\_tags) | A map of tags to add to the resources | `map(string)` | <pre>{<br> "Environment": "Test",<br> "GitRepo": "https://github.com/appvia/terraform-aws-anomaly-detection",<br> "Owner": "Appvia"<br>}</pre> | no |

## Outputs

Expand Down
7 changes: 6 additions & 1 deletion examples/basic/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
variable "notification_secret_name" {
description = "The name of the secret that contains the notification configuration"
type = string
default = "cost-anomaly-notification"
}

variable "notification_email_addresses" {
Expand All @@ -13,5 +14,9 @@ variable "notification_email_addresses" {
variable "tags" {
description = "A map of tags to add to the resources"
type = map(string)
default = {}
default = {
Environment = "Test"
Owner = "Appvia"
GitRepo = "https://github.com/appvia/terraform-aws-anomaly-detection"
}
}

0 comments on commit 5008e1e

Please sign in to comment.