best-angle-27194
04/18/2024, 3:27 PMpants generate-lockfiles ::, which generates the HCL locks. pants check :: passes, which includes a Terraform validation stage. Pushing this code to macOS, we start seeing lockfile mismatch errors when running pants check. The errors are fixed by additionally generating lockfiles on the macOS machine, which adds a single line that runs out to be the macOS-specific hash to the Terraform lockfiles. This appears to be the issue described here, and seems like it can be solved by passing all applicable platforms to Terraform's lock call. Is there a way in the pants config to pass multiple platform args into generate-lockfiles?careful-address-89803
04/18/2024, 4:28 PMcareful-address-89803
04/18/2024, 4:32 PMbest-angle-27194
04/18/2024, 4:41 PM