-
Is it possible to use backend-config as a key value map to configure the backend?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey @fulgas, this is a great shout, thanks for raising! As it happens, TF-via-PR does support the key-value map for One complicating factor for this is that That's not to mention that While my current recommendation is to save these argument combinations in various backend configuration files like so, and provide the file path dynamically to However, I have raised #351 to track this request and I'm keen to get your thoughts on:
|
Beta Was this translation helpful? Give feedback.
Hey @fulgas, this is a great shout, thanks for raising! As it happens, TF-via-PR does support the key-value map for
-var
input, but not yet for-backend-config
.One complicating factor for this is that
-backend-config
input is used for naming the plan file artifact uploaded by the workflow. Unfortunately, GitHub enforces a limit a 256 characters for the artifact name. As you can imagine, we reach that limit pretty quickly by just passing in a couple lengthy arguments.That's not to mention that
,
is used as a separator, so none of the arguments can include a comma—which may or may not be within one's control.While my current recommendation is to save these argument combinations in variou…