Skip to content

Commit e9e851e

Browse files
committed
chore(deps): upgrading the providers
1 parent fea0d63 commit e9e851e

File tree

8 files changed

+113
-100
lines changed

8 files changed

+113
-100
lines changed

.terraform.lock.hcl

+29-29
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Makefile

+13
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,19 @@ documentation-examples:
5252
find examples -type d -mindepth 1 -maxdepth 1 -exec terraform-docs markdown table --output-file README.md --output-mode inject {} \; ; \
5353
fi
5454

55+
upgrade-terraform-providers:
56+
@printf "%s Upgrading Terraform providers for %-24s" "-->" "."
57+
@terraform init -upgrade >/dev/null && echo "[OK]" || echo "[FAILED]"
58+
@$(MAKE) upgrade-terraform-example-providers
59+
60+
upgrade-terraform-example-providers:
61+
@if [ -d examples ]; then \
62+
find examples -type d -mindepth 1 -maxdepth 1 | while read -r dir; do \
63+
printf "%s Upgrading Terraform providers for %-24s" "-->" "$$dir"; \
64+
terraform -chdir=$$dir init -upgrade >/dev/null && echo "[OK]" || echo "[FAILED]"; \
65+
done; \
66+
fi
67+
5568
init:
5669
@echo "--> Running terraform init"
5770
@terraform init -backend=false

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The `terraform-docs` utility is used to generate this README. Follow the below s
4949

5050
| Name | Version |
5151
|------|---------|
52-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.53.0 |
52+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.65.0 |
5353

5454
## Modules
5555

@@ -70,7 +70,7 @@ The `terraform-docs` utility is used to generate this README. Follow the below s
7070
|------|-------------|------|---------|:--------:|
7171
| <a name="input_enable_notification_creation"></a> [enable\_notification\_creation](#input\_enable\_notification\_creation) | Indicates whether to create a notification lambda stack, default is true, but useful to toggle if using existing resources | `bool` | `true` | no |
7272
| <a name="input_enable_sns_topic_creation"></a> [enable\_sns\_topic\_creation](#input\_enable\_sns\_topic\_creation) | Indicates whether to create an SNS topic within this module | `bool` | `true` | no |
73-
| <a name="input_monitors"></a> [monitors](#input\_monitors) | A collection of cost anomaly monitors to create | <pre>list(object({<br> name = string<br> # The name of the monitor <br> monitor_type = optional(string, "DIMENSIONAL")<br> # The type of monitor to create <br> monitor_dimension = optional(string, "SERVICE")<br> # The dimension to monitor<br> monitor_specification = optional(string, null)<br> # The specification to monitor <br> notify = optional(object({<br> frequency = string<br> # The frequency of notifications<br> threshold_expression = optional(any, null)<br> # The threshold expression to use for notifications<br> }), {<br> frequency = "DAILY"<br> })<br> }))</pre> | n/a | yes |
73+
| <a name="input_monitors"></a> [monitors](#input\_monitors) | A collection of cost anomaly monitors to create | <pre>list(object({<br> name = string<br> # The name of the monitor <br> monitor_type = optional(string, "DIMENSIONAL")<br> # The type of monitor to create <br> monitor_dimension = optional(string, "DIMENSIONAL")<br> # The dimension to monitor<br> monitor_specification = optional(string, null)<br> # The specification to monitor <br> notify = optional(object({<br> frequency = string<br> # The frequency of notifications<br> threshold_expression = optional(any, null)<br> # The threshold expression to use for notifications<br> }), {<br> frequency = "DAILY"<br> })<br> }))</pre> | n/a | yes |
7474
| <a name="input_notifications"></a> [notifications](#input\_notifications) | The configuration of the notification | <pre>object({<br> email = optional(object({<br> addresses = list(string)<br> }), null)<br> slack = optional(object({<br> channel = optional(string, null)<br> # The channel name for notifications, required if secret_name is not provided<br> secret_name = optional(string, null)<br> # An optional secret name in the AWS Secrets Manager, containing this information <br> lambda_name = optional(string, "cost-anomaly-notification")<br> # The name of the Lambda function to use for notifications <br> username = optional(string, "AWS Cost Anomaly Detection")<br> # The username to use for notifications<br> webhook_url = optional(string, null)<br> # The URL of the Slack webhook to use for notifications, required if secret_name is not provided<br> }), null)<br> })</pre> | n/a | yes |
7575
| <a name="input_sns_topic_arn"></a> [sns\_topic\_arn](#input\_sns\_topic\_arn) | The ARN of an existing SNS topic for notifications | `string` | `null` | no |
7676
| <a name="input_sns_topic_name"></a> [sns\_topic\_name](#input\_sns\_topic\_name) | The name of an existing or new SNS topic for notifications | `string` | `"cost-anomaly-notifications"` | no |

examples/basic/.terraform.lock.hcl

+33-33
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/basic/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
| Name | Version |
1313
|------|---------|
14-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.45.0 |
14+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.65.0 |
1515

1616
## Modules
1717

examples/existing_sns/.terraform.lock.hcl

+33-33
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/existing_sns/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
| Name | Version |
1313
|------|---------|
14-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.45.0 |
14+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.65.0 |
1515

1616
## Modules
1717

variables.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ variable "monitors" {
1818
# The name of the monitor
1919
monitor_type = optional(string, "DIMENSIONAL")
2020
# The type of monitor to create
21-
monitor_dimension = optional(string, "SERVICE")
21+
monitor_dimension = optional(string, "DIMENSIONAL")
2222
# The dimension to monitor
2323
monitor_specification = optional(string, null)
2424
# The specification to monitor

0 commit comments

Comments
 (0)