Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit 9f02561

Browse files
Allow setting of Atlantis log level
1 parent 49499a8 commit 9f02561

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ locals {
3636
},
3737
{
3838
name = "ATLANTIS_LOG_LEVEL"
39-
value = "debug"
39+
value = var.atlantis_log_level
4040
},
4141
{
4242
name = "ATLANTIS_PORT"

variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,12 @@ variable "allow_repo_config" {
233233
default = "false"
234234
}
235235

236+
variable "atlantis_log_level" {
237+
description = "Log level that Atlantis will run with. Accepted values are: <debug|info|warn|error>"
238+
type = string
239+
default = "debug"
240+
}
241+
236242
# Github
237243
variable "atlantis_github_user" {
238244
description = "GitHub username that is running the Atlantis command"

0 commit comments

Comments
 (0)