H All, I have been able to get Atlantis working wi...
# atlantis-community
b
H All, I have been able to get Atlantis working with terragrunt but the output display contains a timestamp, any advice or ideas on how to remove it?
p
are you setting a LOG_LEVEL variable somewhere?
where is the output shown? in the comment?
version of atlantis?
b
I'm not aware that I have set log_level anywhere I am using https://github.com/terraform-aws-modules/terraform-aws-atlantis to deploy, which is using the latest version of the container The screenshot is from the github comment, the error I'm getting back from terraform regards the plan seems correct but the formatting with the timestamp makes it difficult to debug i think it may have something to do with my terragrunt workflow, this is repos.yaml
Copy code
{
  "repos": [
    {
      "id": "/.*/",
      "workflow": "terragrunt"
    }
  ],
  "workflows": {
    "terragrunt": {
      "plan": {
        "steps": [
          {
            "env": {
              "name": "TERRAGRUNT_TFPATH",
              "command": "echo \"terraform${ATLANTIS_TERRAFORM_VERSION}\""
            }
          },
          {
            "env": {
              "name": "TF_IN_AUTOMATION",
              "value": "true"
            }
          },
          {
            "run": {
              "command": "terragrunt plan -out $PLANFILE",
            }
          },
          {
            "run": "terragrunt show $PLANFILE\n"
          }
        ]
      },
      "apply": {
        "steps": [
          {
            "env": {
              "name": "TERRAGRUNT_TFPATH",
              "command": "echo \"terraform${ATLANTIS_TERRAFORM_VERSION}\""
            }
          },
          {
            "env": {
              "name": "TF_IN_AUTOMATION",
              "value": "true"
            }
          },
          {
            "run": "terragrunt apply -input=false $PLANFILE"
          }
        ]
      },
      "import": {
        "steps": [
          {
            "env": {
              "name": "TERRAGRUNT_TFPATH",
              "command": "echo \"terraform${DEFAULT_TERRAFORM_VERSION}\""
            }
          },
          {
            "env": {
              "name": "TF_VAR_author",
              "command": "git show -s --format=\"%ae\" $HEAD_COMMIT"
            }
          },
          {
            "run": "terragrunt import -input=false $(printf '%s' $COMMENT_ARGS | sed 's/,/ /' | tr -d '\\\\')"
          }
        ]
      },
      "state_rm": {
        "steps": [
          {
            "env": {
              "name": "TERRAGRUNT_TFPATH",
              "command": "echo \"terraform${DEFAULT_TERRAFORM_VERSION}\""
            }
          },
          {
            "run": "terragrunt state rm $(printf '%s' $COMMENT_ARGS | sed 's/,/ /' | tr -d '\\\\')"
          }
        ]
      }
    }
  }
}