terraform-provider-iterative
terraform-provider-iterative copied to clipboard
Avoid using environment variables to alter Kubernetes task functionality
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.