cool-easter-32542
10/22/2024, 9:21 PM[download-terraform]
platforms = ["darwin_amd64", "linux_amd64"]
to the pants.toml results in:
$ pants --print-stacktrace experimental-deploy ::
17:12:08.03 [INFO] Initializing scheduler...
17:12:10.93 [INFO] Scheduler initialized.
17:12:10.98 [ERROR] Invalid option 'platforms' under [download-terraform] in /Documents/git/pants.toml
17:12:10.98 [ERROR] Invalid config entries detected. See log for details on which entries to update or remove.
(Specify --no-verify-config to disable this check.)
Traceback (most recent call last):
File "/Library/Caches/nce/6faa4322d1df41d032e4938795c6f2c262ab92bb642a9bac1101cb7d1631f9c1/bindings/venvs/2.21.0/lib/python3.9/site-packages/pants/bin/daemon_pants_runner.py", line 134, in single_daemonized_run
runner = LocalPantsRunner.create(
File "/Library/Caches/nce/6faa4322d1df41d032e4938795c6f2c262ab92bb642a9bac1101cb7d1631f9c1/bindings/venvs/2.21.0/lib/python3.9/site-packages/pants/bin/local_pants_runner.py", line 113, in create
options.verify_configs(options_bootstrapper.config)
File "/Library/Caches/nce/6faa4322d1df41d032e4938795c6f2c262ab92bb642a9bac1101cb7d1631f9c1/bindings/venvs/2.21.0/lib/python3.9/site-packages/pants/option/options.py", line 246, in verify_configs
global_config.verify(section_to_valid_options)
File "/Library/Caches/nce/6faa4322d1df41d032e4938795c6f2c262ab92bb642a9bac1101cb7d1631f9c1/bindings/venvs/2.21.0/lib/python3.9/site-packages/pants/option/config.py", line 104, in verify
raise ConfigValidationError(
pants.option.errors.ConfigValidationError: Invalid config entries detected. See log for details on which entries to update or remove.
(Specify --no-verify-config to disable this check.)
Use -ldebug for more logs.
See <https://www.pantsbuild.org/2.21/docs/using-pants/troubleshooting-common-issues> for common issues.
Consider reaching out for help: <https://www.pantsbuild.org/community/getting-help>
Pants version
Which version of Pants are you using?
2.21.0
OS
MacOS
pantsbuild/pants