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
8.01k stars 971 forks source link

Terraform Registry Support: Add support for token configuration that terraform supports. #1771

Open yorinasub17 opened 3 years ago

yorinasub17 commented 3 years ago

The initial version of Terraform Registry support introduced an environment variable for providing API tokens to terragrunt, but this is not how terraform authenticates. We should update the feature to support parsing the terraform authentication configuration.

Note the following caveat from the original PR:

Ideally we would be able to reuse code from Terraform. However, terraform has moved to packaging all its libraries under internal so that you can't use them as a library outside of Terraform. To respect the direction and spirit of the Terraform team, I opted for not doing anything funky to workaround the limitation (like copying those files in here).

begemotik commented 2 years ago

Would be nice to get it implemented.

k2m30 commented 2 years ago

Gentlemen, any updates?

pasinski commented 11 months ago

Upvoting it too.

luis-guimaraes-exoawk commented 5 months ago

Any news?

shaheerkhan12605 commented 4 months ago

Any updates ?

yhakbar commented 4 months ago

Hey folks!

Your feedback has been heard, and we're going to actively look into what we can do to support this.

maciob commented 2 months ago

Hey, any updates on this feature? It's really highly requested by community.

VincentLim commented 2 months ago

Any update ? It's blocking if you have to work with multiple private registries