terragrunt-atlantis-config
terragrunt-atlantis-config copied to clipboard
add Atlantis config project name support derived from terragrunt locals atlantis_project_name variable
Pull Request
Related Github Issues
- [none]
Description
Add the capability to generate atlantis.tf
config files with custom project names using the value of the terragrunt locals variable atlantis_project_name
(useful for atlantis -p
flag).
Requires the terragrunt-atlantis-config --create-project-name
flag.
example:
locals {
project_name = basename(get_terragrunt_dir())
environment = basename(dirname(get_terragrunt_dir()))
# Atlantis setup
atlantis_project_name = "${local.project_name}-${local.environment}"
}
Security Implications
- [none]
System Availability
- [none]