terragrunt icon indicating copy to clipboard operation
terragrunt copied to clipboard

Add Azure support for remote_state auto initialization

Open markusbecker opened this issue 3 years ago • 6 comments

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)

markusbecker avatar Jul 18 '22 08:07 markusbecker

There is an open pull request for this (#1736) that unfortunately appears to have been abandoned.

skurhse avatar Jul 28 '22 04:07 skurhse

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

jmreicha avatar Dec 02 '22 03:12 jmreicha

Any plans for this?

jjgriff93 avatar Jan 19 '23 10:01 jjgriff93

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

sergibarroso-datarobot avatar May 17 '23 14:05 sergibarroso-datarobot

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.

EraYaN avatar Jun 29 '23 08:06 EraYaN

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.

dmytrokyrychuk avatar Jan 28 '24 11:01 dmytrokyrychuk