databricks-cli/bundle
Pieter Noordhuis 87207bba78
Configure Terraform provider auth through env vars (#290)
## Changes

Auth relied on setting a profile. In this change we enumerate all
configuration properties and export all non-empty ones as a map with
environment variables. We then pass this map to the Terraform execution
wrapper.

This results in Terraform using the bundle's authentication
configuration.

This change is needed to make #287 work.

## Tests

Manually.
2023-03-29 20:46:09 +02:00
..
artifacts Mutators to define current user and default artifact path (#112) 2022-12-01 11:17:29 +01:00
config Try to resolve a profile if only the host is specified (#287) 2023-03-29 20:44:19 +02:00
deploy Configure Terraform provider auth through env vars (#290) 2023-03-29 20:46:09 +02:00
deployer Acquire lock prior to deploy (#270) 2023-03-22 16:37:26 +01:00
internal/tf Update Terraform provider schema structs (#265) 2023-03-20 17:22:55 +01:00
phases Log mutator phase at info level (#272) 2023-03-22 17:02:22 +01:00
run Add progress logs for job runs (#276) 2023-03-29 14:58:09 +02:00
schema Use tracker for reference loop tracking (#252) 2023-03-16 12:57:57 +01:00
tests Revert "Rename jobs -> workflows" (#118) 2022-12-01 22:39:15 +01:00
bundle.go Configure Terraform provider auth through env vars (#290) 2023-03-29 20:46:09 +02:00
bundle_test.go Add function to opportunistically load a bundle (#180) 2023-01-27 16:57:39 +01:00
context.go Make sync command work in bundle context; reorder args (#207) 2023-02-20 11:33:30 +01:00
context_test.go Add command that writes the materialized bundle configuration to stdout (#95) 2022-11-21 15:39:53 +01:00
mutator.go Include mutator name in logging context (#271) 2023-03-22 15:54:10 +01:00
mutator_test.go Move mutator interface to top level bundle package (#105) 2022-11-28 10:59:43 +01:00
root.go Add function to opportunistically load a bundle (#180) 2023-01-27 16:57:39 +01:00
root_test.go Add function to opportunistically load a bundle (#180) 2023-01-27 16:57:39 +01:00