#### Building all modules for an environment
Move to an environmental level folder, e.g stage.
Then run `terragrunt apply-all` followed by `terraform init`
-If you run the command above for the first time and your version of Terraform is <= 0.13-beta, You may end up the error below
-`Provider "rke" not available for installation.`
-You have to manually download the `rke` provider and copy it under a Terraform's cached plug-in directory.
-After copying the rke provider, move to the `rancher` directory and run `terragrunt init`.
-Please, refer to the following [link](https://github.com/rancher/terraform-provider-rke#installing-the-provider) for details.
+
+Terraform version 0.13 is required.
https://github.com/gruntwork-io/terragrunt-infrastructure-live-example#deploying-all-modules-in-a-region
--- /dev/null
+terraform {
+ required_providers {
+ helm = {
+ source = "hashicorp/helm"
+ }
+ kubernetes = {
+ source = "hashicorp/kubernetes"
+ }
+ openstack = {
+ source = "terraform-providers/openstack"
+ }
+ }
+ required_version = ">= 0.13"
+}
--- /dev/null
+terraform {
+ required_providers {
+ local = {
+ source = "hashicorp/local"
+ }
+ null = {
+ source = "hashicorp/null"
+ }
+ rke = {
+ source = "registry.terraform.io/rancher/rke"
+ }
+ openstack = {
+ source = "terraform-providers/openstack"
+ }
+ }
+ required_version = ">= 0.13"
+}