diff --git a/README.md b/README.md index aa34a42..b1ab37d 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,28 @@ variable "terragrunt_atlantis_config_version" { default = "1.18.0" } +build { + // ... + provisioner "shell" { + inline = [ + "curl -s -Lo terragrunt-atlantis-config https://github.com/transcend-io/terragrunt-atlantis-config/releases/download/v${var.terragrunt_atlantis_config_version}/terragrunt-atlantis-config_${var.terragrunt_atlantis_config_version}_linux_amd64", + "sudo install terragrunt-atlantis-config /usr/local/bin", + ] + inline_shebang = "/bin/bash -e" + } + // ... +} +``` + +and just like that, your developers should never have to worry about an `atlantis.yaml` file, or even need to know what it is. + +:warning: **BEFORE 1.18.0**, the installation process is as follow. + +```hcl +variable "terragrunt_atlantis_config_version" { + default = "1.17.0" +} + build { // ... provisioner "shell" { @@ -66,8 +88,6 @@ build { } ``` -and just like that, your developers should never have to worry about an `atlantis.yaml` file, or even need to know what it is. - ## Extra dependencies For basic cases, this tool can sniff out all dependencies in a module. However, you may have times when you want to add in additional dependencies such as: