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

feat: multiple backend-config inputs #352

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

rdhar
Copy link
Member

@rdhar rdhar commented Nov 6, 2024

Note

While this is a patch release, existing PRs should be updated for consistent behaviour with plan files.

Added

  • Pass in multiple comma-separated -backend-config values (thank you, @fulgas).
    E.g., arg-backend-config: encrypt=true,bucket="bucket-name",dynamodb_table="table-name".
    • This is in addition to existing support for -var, -target, and -replace comma-separated values.

Improved

  • Portion of plan file artifact name is hashed with MD5 for concise, fixed-length string.
    • This is to address GitHub's 256 character limit for artifact naming.
    • As a bonus, this also masks potentially sensitive values from arg-var input.
  • Documentation to include "To-Do" tasks.

To-do

  • Handling of inputs which contain space(s) (e.g., working-directory: "path to/directory").
  • Handling of comma-separated inputs which contain comma(s) (e.g., arg-var: token=1,2,3).

Resolves #351, #350.

Signed-off-by: Rishav Dhar <19497993+rdhar@users.noreply.github.com>
@rdhar rdhar merged commit 1cddaa5 into main Nov 6, 2024
6 checks passed
@rdhar rdhar deleted the feat--multiple-backend-config-inputs branch November 6, 2024 13:45
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

Successfully merging this pull request may close these issues.

Pass in backend-config as key-value map input
1 participant