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

Improve configuration of Terraform providers #8

Merged
merged 2 commits into from
Jul 8, 2021

Conversation

negz
Copy link
Member

@negz negz commented Jul 8, 2021

Description of your changes

Fixes #7

This PR:

  1. Makes it possible to provide a Terraform workspace with multiple credentials files, to make it easier for a workspace to use multiple Terraform providers.
  2. Makes it possible to specify HCL at the provider config level that should be injected into all workspaces. This can be used to shift Terraform provider and remote state into the provider config scope, rather than needing each workspace to set them up.

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

I've tested the updated examples to ensure they work.

negz added 2 commits July 8, 2021 03:43
This commit:

1. Makes it possible to provide a Terraform workspace with multiple credentials
   files, to make it easier for a workspace to use multiple Terraform providers.
1. Makes it possible to specify HCL at the provider config level that should be
   inject into all workspaces. This can be used to shift Terraform provider and
   remote state into the provider config scope, rather than needing each
   workspace to set them up.

Signed-off-by: Nic Cope <negz@rk0n.org>
Signed-off-by: Nic Cope <negz@rk0n.org>
@negz negz merged commit 2907a32 into crossplane-contrib:master Jul 8, 2021
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.

Allow workspaces to use multiple Terraform providers
1 participant