Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 22 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand All @@ -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:
Expand Down