Skip to content

Commit

Permalink
rollback to python3.11 and revert back of pipfile contents as per pee…
Browse files Browse the repository at this point in the history
…r review
  • Loading branch information
Samuel CHNIBER committed Jan 6, 2025
1 parent 4f5f22b commit 1a3331e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 17 deletions.
11 changes: 0 additions & 11 deletions Pipfile

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Doing serverless with Terraform? Check out [serverless.tf framework](https://ser

## Supported Features

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

[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.

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`:
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`:

```Dockerfile
FROM hashicorp/tfc-agent:latest
RUN apt-get -y update && apt-get -y install python3.12 python3-pip
RUN apt-get -y update && apt-get -y install python3.11 python3-pip
ENTRYPOINT ["/bin/tfc-agent"]
```

Expand Down
4 changes: 1 addition & 3 deletions functions/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ verify_ssl = true
name = "pypi"

[packages]
boto3 = "*"
pytest = "*"

[dev-packages]
boto3 = "~=1.34"
Expand All @@ -20,7 +18,7 @@ radon = "*"
snapshottest = "~=0.6"

[requires]
python_version = "3.12"
python_version = "3.11"

[scripts]
test = "python3 -m pytest --cov --cov-report=term"
Expand Down

0 comments on commit 1a3331e

Please sign in to comment.