Skip to content

Commit

Permalink
removed custom python installation
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzzimmer committed Jan 15, 2024
1 parent f9a3701 commit 89f93d7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ for example.
| <a name="input_cloudwatch_logs"></a> [cloudwatch\_logs](#input\_cloudwatch\_logs) | CloudWatch logs configuration for the containers of this service. CloudWatch logs will be used as the default log configuration if Firelens is disabled and for the fluentbit and otel containers. | <pre>object({<br> enabled = optional(bool, true)<br> name = optional(string, "")<br> retention_in_days = optional(number, 7)<br> })</pre> | `{}` | no |
| <a name="input_cluster_id"></a> [cluster\_id](#input\_cluster\_id) | The ECS cluster id that should run this service | `string` | n/a | yes |
| <a name="input_code_build_environment_compute_type"></a> [code\_build\_environment\_compute\_type](#input\_code\_build\_environment\_compute\_type) | Information about the compute resources the CodeBuild stage of the deployment pipeline will use. | `string` | `"BUILD_LAMBDA_1GB"` | no |
| <a name="input_code_build_environment_image"></a> [code\_build\_environment\_image](#input\_code\_build\_environment\_image) | Docker image to use for the CodeBuild stage of the deployment pipeline. | `string` | `"aws/codebuild/amazonlinux-aarch64-lambda-standard:python3.12"` | no |
| <a name="input_code_build_environment_image"></a> [code\_build\_environment\_image](#input\_code\_build\_environment\_image) | Docker image to use for the CodeBuild stage of the deployment pipeline. The image needs to include python. | `string` | `"aws/codebuild/amazonlinux-aarch64-lambda-standard:python3.12"` | no |
| <a name="input_code_build_environment_type"></a> [code\_build\_environment\_type](#input\_code\_build\_environment\_type) | Type of build environment for the CodeBuild stage of the deployment pipeline. | `string` | `"ARM_LAMBDA_CONTAINER"` | no |
| <a name="input_code_build_log_retention_in_days"></a> [code\_build\_log\_retention\_in\_days](#input\_code\_build\_log\_retention\_in\_days) | Log retention in days of the CodeBuild CloudWatch log group. | `number` | `7` | no |
| <a name="input_code_build_role_name"></a> [code\_build\_role\_name](#input\_code\_build\_role\_name) | Use an existing role for codebuild permissions that can be reused for multiple services. Otherwise a separate role for this service will be created. | `string` | `""` | no |
Expand Down
3 changes: 0 additions & 3 deletions modules/deployment/code_build.tf
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ resource "aws_codebuild_project" "this" {
version: 0.2
phases:
install:
runtime-versions:
python: 3.12
build:
commands:
- |
Expand Down
2 changes: 1 addition & 1 deletion modules/deployment/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ variable "code_build_environment_compute_type" {
}

variable "code_build_environment_image" {
description = "Docker image to use for the CodeBuild stage of the deployment pipeline."
description = "Docker image to use for the CodeBuild stage of the deployment pipeline. The image needs to include python."
default = "aws/codebuild/amazonlinux-aarch64-lambda-standard:python3.12"
type = string
}
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ variable "code_build_environment_compute_type" {
}

variable "code_build_environment_image" {
description = "Docker image to use for the CodeBuild stage of the deployment pipeline."
description = "Docker image to use for the CodeBuild stage of the deployment pipeline. The image needs to include python."
default = "aws/codebuild/amazonlinux-aarch64-lambda-standard:python3.12"
type = string
}
Expand Down

0 comments on commit 89f93d7

Please sign in to comment.