terraform-provider-iterative icon indicating copy to clipboard operation
terraform-provider-iterative copied to clipboard

Avoid using environment variables to alter Kubernetes task functionality

Open 0x2b3bfa0 opened this issue 3 years ago • 0 comments

Extracted from https://github.com/iterative/terraform-provider-iterative/pull/645#discussion_r952928867

Kubernetes task code uses environment variables in a rather hacky way to differentiate file transfer from code execution jobs. While this is mostly a consequence of the approach we follow, it would be nice to use function arguments or something more explicit.

0x2b3bfa0 avatar Aug 29 '22 10:08 0x2b3bfa0