Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extra blank lines in buildkite log output #30

Open
andrewhsu opened this issue Jul 2, 2024 · 0 comments
Open

extra blank lines in buildkite log output #30

andrewhsu opened this issue Jul 2, 2024 · 0 comments

Comments

@andrewhsu
Copy link

andrewhsu commented Jul 2, 2024

using the plugin to retrieve secrets with json key:

    plugins:
      - seek-oss/aws-sm#v2.3.2:
          json-to-env:
            - json-key: .
              secret-id: prod/AppBeta/Mysql
            - json-key: .
              secret-id: prod/AppBeta/Redpanda

the buildkite log has 2 extra blank lines per secret:

  | 2024-07-02 00:46:37 CDT | 🔑 Reading secrets from AWS SM
  | 2024-07-02 00:46:37 CDT | Reading all environment variables from prod/AppBeta/Mysql in AWS SM
  | 2024-07-02 00:46:37 CDT |  
  | 2024-07-02 00:46:37 CDT |  
  | 2024-07-02 00:46:37 CDT | Setting environment variable MYSQL_DSN
  | 2024-07-02 00:46:37 CDT | Reading all environment variables from prod/AppBeta/Redpanda in AWS SM
  | 2024-07-02 00:46:37 CDT |  
  | 2024-07-02 00:46:38 CDT |  
  | 2024-07-02 00:46:38 CDT | Setting environment variable REDPANDA_USER
  | 2024-07-02 00:46:38 CDT | Setting environment variable REDPANDA_PASSWORD

removing the blank lines would make it easier for human eyes to associate aws sm secret name with env var name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant