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

Split configuring provider and terraform to make testing more easy #27

Merged
merged 2 commits into from
Sep 27, 2022

Conversation

ThomasBleijendaal
Copy link
Contributor

If configure is set to false in TerraformTestHost.CreateTerraformTestInstanceAsync, the terraform section from tf.conf is also dropped.

This PR allows developers to choose what section they want to drop from tf.conf, so the somewhat magical example.com/example/{ProviderName} provider config remains (in most of the cases) in TerraformTestHost. The test host also depends on example.com/example/{ProviderName}, so it is better to keep it as contained as possible.

Copy link
Owner

@SamuelFisher SamuelFisher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a good change 👍

@SamuelFisher SamuelFisher merged commit 75c0c51 into SamuelFisher:master Sep 27, 2022
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.

None yet

2 participants