Skip to content

Commit 6bc3a41

Browse files
Merge pull request #7 from Daemon-Solutions/sd-3789
fix typo in lambda slack alert
2 parents 2cc1fd2 + 540187c commit 6bc3a41

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ No modules.
106106
| <a name="input_private_asg_record_template"></a> [private\_asg\_record\_template](#input\_private\_asg\_record\_template) | The fully qualified domain name format for private Autoscaling Group DNS records | `string` | `"service.internal.domain"` | no |
107107
| <a name="input_private_instance_record_template"></a> [private\_instance\_record\_template](#input\_private\_instance\_record\_template) | The fully qualified domain name format for private instance DNS records | `string` | `"service.az.domain"` | no |
108108
| <a name="input_public_asg_record_template"></a> [public\_asg\_record\_template](#input\_public\_asg\_record\_template) | The fully qualified domain name format for public Autoscaling Group DNS records | `string` | `"service.domain"` | no |
109-
| <a name="input_runtime"></a> [runtime](#input\_runtime) | Runtime binary | `string` | `"python3.7"` | no |
109+
| <a name="input_runtime"></a> [runtime](#input\_runtime) | Runtime binary | `string` | `"python3.12"` | no |
110110
| <a name="input_secret_name"></a> [secret\_name](#input\_secret\_name) | Daemon Secret Manager | `string` | n/a | yes |
111111
| <a name="input_service"></a> [service](#input\_service) | Autoscaling Group service name, e.g. 'bastion'. This will be prefix for DNS records. | `string` | n/a | yes |
112112
| <a name="input_slack_webhook"></a> [slack\_webhook](#input\_slack\_webhook) | slack webhook for notifications | `string` | n/a | yes |

include/lambda.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def lambda_handler(event, context):
215215
# apply dns updates
216216
if changes:
217217
change_rrs(changes, zone_id)
218-
slack_notification('Rundeck ' + environment + ' has restarted!!')
218+
slack_notification(f"{service} {environment} has restarted!!")
219219

220220
#PagerDuty Alert
221221
data = json.loads(PD_DATA)

variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ variable "ttl" {
7171

7272
variable "runtime" {
7373
description = "Runtime binary"
74-
default = "python3.7"
74+
default = "python3.12"
7575
}
7676

7777
#SD-2156
@@ -108,4 +108,4 @@ variable "pd_user_email" {
108108
variable "secret_name" {
109109
type = string
110110
description = "Daemon Secret Manager"
111-
}
111+
}

0 commit comments

Comments
 (0)