gruntwork-io / terragrunt

Terragrunt is a flexible orchestration tool that allows Infrastructure as Code written in OpenTofu/Terraform to scale.
https://terragrunt.gruntwork.io/
MIT License
7.89k stars 966 forks source link

Add Azure support for remote_state auto initialization #2200

Open markusbecker opened 2 years ago

markusbecker commented 2 years ago

Hi, currently AWS and GCP are supported as part of the auto init feature of the terragrunt remote_state.

The following backends are currently supported by remote_state: s3 backend gcs backend For all other backends, the remote_state block operates in the same manner as generate.

Terraform - Keep your remote state configuration dry

Is there any plan to add Azure as well? (that would cover the creation of Azure Resource group, Azure Storage Account and Azure Blob Container)

jmreicha commented 1 year ago

Interested in this one as well. It looks like the PR is abandoned?

jjgriff93 commented 1 year ago

Any plans for this?

sergibarroso-datarobot commented 1 year ago

I'm also interested in the Azure backend. Any news on this? Thanks 🙇

EraYaN commented 1 year ago

This might also help with problems when the remote_backend file is renamed and terragrunt refuses to update the backend generated file before you run terraform init which of course requires the new file.

dmytrokyrychuk commented 7 months ago

I experimented with an implementation of auto initialization with azure backend recently, and I have a working PoC already here. I wish I stumbled upon the old PR sooner, seeing it would have helped me a lot.

Can someone from Gruntwork clarify if they would be willing to review and accept a new PR that solves this issue? I want to know if there is interest before spending too much time making a proper PR with documentation and tests.

mcm-ham commented 3 months ago

Following on from the discussion in this PR https://github.com/gruntwork-io/terragrunt/pull/1736#issuecomment-1412026680

I wonder if this is something that terragrunt could provide plugin support for to allow third parties to provide support for Azure and other cloud providers.