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

Terraform provider implementation #234

Closed
4 tasks
wbreza opened this issue Aug 2, 2022 · 0 comments
Closed
4 tasks

Terraform provider implementation #234

wbreza opened this issue Aug 2, 2022 · 0 comments
Assignees
Milestone

Comments

@wbreza
Copy link
Contributor

wbreza commented Aug 2, 2022

The interaction between AZD and Terraform should be through the Terraform CLI. AZD will call into the Terraform CLI similar to the other tool dependencies.

Terraform tool should implement tools.ExternalTool interface

Implement the provisioning.Provider interface for Terraform.

Support for the following

  • Init
  • Plan
  • Apply
  • Destroy
@wbreza wbreza added the feature label Aug 2, 2022
@wbreza wbreza added this to the Release 0.2 milestone Aug 2, 2022
wbreza pushed a commit that referenced this issue Sep 9, 2022
This PR enables terraform as an IAC provider on azd by:

Add a terraform_provider implementation that supports both local and remote azureRM terraform backends.
Add terraform_provider unit tests, and sample function tests for both local and remotestate cases.
Update the python-mongo terraform azure.yaml to use the terraform provider.
Update the python-mongo terraform keyvault to ensure dependencies order for access policies, and keyvault secret.
Update the azure-dev ci to install terraform, set needed credentials for terraform auth.
fixes #516, #547, #234
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants