Skip to content

Commit 1a3331e

Browse files
committed
rollback to python3.11 and revert back of pipfile contents as per peer review
1 parent 4f5f22b commit 1a3331e

File tree

3 files changed

+4
-17
lines changed

3 files changed

+4
-17
lines changed

Pipfile

Lines changed: 0 additions & 11 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Doing serverless with Terraform? Check out [serverless.tf framework](https://ser
88

99
## Supported Features
1010

11-
- AWS Lambda runtime Python 3.12
11+
- AWS Lambda runtime Python 3.11
1212
- Create new SNS topic or use existing one
1313
- Support plaintext and encrypted version of Slack webhook URL
1414
- Most of Slack message options are customizable
@@ -37,11 +37,11 @@ module "notify_slack" {
3737

3838
[Terraform Cloud Agents](https://www.terraform.io/docs/cloud/workspaces/agent.html) are a paid feature, available as part of the Terraform Cloud for Business upgrade package.
3939

40-
This module requires Python 3.12. You can customize [tfc-agent](https://hub.docker.com/r/hashicorp/tfc-agent) to include Python using this sample `Dockerfile`:
40+
This module requires Python 3.11. You can customize [tfc-agent](https://hub.docker.com/r/hashicorp/tfc-agent) to include Python using this sample `Dockerfile`:
4141

4242
```Dockerfile
4343
FROM hashicorp/tfc-agent:latest
44-
RUN apt-get -y update && apt-get -y install python3.12 python3-pip
44+
RUN apt-get -y update && apt-get -y install python3.11 python3-pip
4545
ENTRYPOINT ["/bin/tfc-agent"]
4646
```
4747

functions/Pipfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ verify_ssl = true
44
name = "pypi"
55

66
[packages]
7-
boto3 = "*"
8-
pytest = "*"
97

108
[dev-packages]
119
boto3 = "~=1.34"
@@ -20,7 +18,7 @@ radon = "*"
2018
snapshottest = "~=0.6"
2119

2220
[requires]
23-
python_version = "3.12"
21+
python_version = "3.11"
2422

2523
[scripts]
2624
test = "python3 -m pytest --cov --cov-report=term"

0 commit comments

Comments
 (0)