Sahadat Hossain
10/14/2024, 9:22 PMRunningwhat file it refers by the empty yaml? is this atmos.yaml file or the stacks files? I tried with empty yaml having on the stacks folder's files but it seems validate with success for those!on an empty YAML file does not validateatmos validate
Andriy Knysh (Cloud Posse)
10/14/2024, 9:23 PMSahadat Hossain
10/14/2024, 9:25 PMErik Osterman (Cloud Posse)
10/14/2024, 9:35 PMErik Osterman (Cloud Posse)
10/14/2024, 9:35 PMSahadat Hossain
10/14/2024, 9:40 PMAndriy Knysh (Cloud Posse)
10/14/2024, 9:45 PMSahadat Hossain
10/14/2024, 9:46 PMAndriy Knysh (Cloud Posse)
10/14/2024, 9:46 PMSahadat Hossain
10/14/2024, 9:54 PM// Include (process and validate) all YAML files in the `stacks` folder in all subfolders
includedPaths := []string{"**/*"}
// Don't exclude any YAML files for validation
excludedPaths := []string{}
includeStackAbsPaths, err := u.JoinAbsolutePathWithPaths(cliConfig.StacksBaseAbsolutePath, includedPaths)
if err != nil {
return err
}
but in the atmos.yaml it requires to provide stacks.included_paths
if we're not using those values why to take?Andriy Knysh (Cloud Posse)
10/14/2024, 9:58 PMAndriy Knysh (Cloud Posse)
10/14/2024, 9:59 PM// Don't exclude any YAML files for validation
Andriy Knysh (Cloud Posse)
10/14/2024, 10:00 PMstacksSahadat Hossain
10/14/2024, 10:01 PMAndriy Knysh (Cloud Posse)
10/14/2024, 10:01 PMatmos.yaml, we can exclude the file that are NOT top-level stacks so Atmos does not try to process them as stacks (those can be catalog files, or mixins, or other YAML manifests, but they are not topo-level stacks)Andriy Knysh (Cloud Posse)
10/14/2024, 10:01 PMstacksSahadat Hossain
10/14/2024, 10:03 PMstacks.base_path is empty or not?Andriy Knysh (Cloud Posse)
10/14/2024, 10:09 PMAndriy Knysh (Cloud Posse)
10/14/2024, 10:09 PMAndriy Knysh (Cloud Posse)
10/14/2024, 10:11 PMSahadat Hossain
10/14/2024, 10:11 PMAndriy Knysh (Cloud Posse)
10/14/2024, 10:12 PMAndriy Knysh (Cloud Posse)
10/14/2024, 10:12 PMAndriy Knysh (Cloud Posse)
10/14/2024, 10:13 PMstacks directory and you should have the message aboveSahadat Hossain
10/14/2024, 10:14 PM