INNER CODE UNIT · Go
absoluteSourceDir
transcend-io/terragrunt-atlantis-config · cmd/generate.go:342
absoluteSourceDir := filepath.Dir(sourcePath) + string(filepath.Separator)
locals, err := parseLocals(parsingContext, sourcePath, nil)
if err != nil {
return nil, err
}
// If `atlantis_skip` is true on the module, then do not produce a project for it
if locals.Skip != nil && *locals.Skip {
return nil, nil
}
// All dependencies depend on their own .hcl file, and any tf files in their directory
relativeDependencies := []string{
"*.hcl",
"*.tf*",
}
// Add other dependencies based on their relative paths. We always want to output with Unix path separators