Skip to content

Commit

Permalink
Update lambda.tf (#50)
Browse files Browse the repository at this point in the history
* Update lambda.tf

* Update CHANGELOG.md

* Updating GHA workflow - runner fix

ubuntu-18.04 runner is deprecated and has been unsupported since 2023-04-01

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md
  • Loading branch information
HamzaJugon authored Dec 15, 2023
1 parent 1abf457 commit 75e517f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ on: [push, pull_request]
jobs:
test:
name: Terraform Checks
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup
uses: hashicorp/[email protected]
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [5.0.2] - 2023-12-15
### Added
- Updating `beekeeper_slack_notifier` Lambda function in `lambda.tf` that is currently using the deprecated Python 3.7 runtime to the Python 3.9 runtime

### Changed
- Updated hosted runner from the deprecated `ubuntu-18.04` to `ubuntu-22.04` to fix failing GitHub Actions

## [5.0.1] - 2023-12-05
### Added
- Added `HADOOP_USER_NAME` environment variable and set it to `beekeeper`
Expand Down
2 changes: 1 addition & 1 deletion lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ resource "aws_lambda_function" "beekeeper_slack_notifier" {
function_name = "${local.instance_alias}-slack-notifier"
role = aws_iam_role.beekeeper_slack_notifier_lambda[count.index].arn
handler = "slack-notifier.lambda_handler"
runtime = "python3.7"
runtime = "python3.9"
timeout = 20
tags = var.beekeeper_tags

Expand Down

0 comments on commit 75e517f

Please sign in to comment.