Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save aidansteele/4586d70e3d1f56ec27595f6dec9916b9 to your computer and use it in GitHub Desktop.

Select an option

Save aidansteele/4586d70e3d1f56ec27595f6dec9916b9 to your computer and use it in GitHub Desktop.
sam build --parallel
SAM CLI now collects telemetry to better understand customer needs.
You can OPT OUT and disable telemetry collection by setting the
environment variable SAM_CLI_TELEMETRY=0 in your shell.
Thanks for your help!
Learn More: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-telemetry.html
Failed to expand CloudFormation Language Extensions: Fn::FindInMap cannot find key '123456789012' in map 'AccountMap'
Error: Fn::FindInMap cannot find key '123456789012' in map 'AccountMap'
Traceback:
File "click/core.py", line 1082, in main
File "click/core.py", line 1697, in invoke
File "click/core.py", line 1443, in invoke
File "click/core.py", line 788, in invoke
File "samcli/cli/cli_config_file.py", line 366, in wrapper
File "click/decorators.py", line 92, in new_func
File "click/core.py", line 788, in invoke
File "samcli/lib/telemetry/metric.py", line 190, in wrapped
File "samcli/lib/telemetry/metric.py", line 155, in wrapped
File "samcli/lib/utils/version_checker.py", line 43, in wrapped
File "samcli/cli/main.py", line 95, in wrapper
File "samcli/commands/build/command.py", line 175, in cli
File "samcli/commands/build/command.py", line 244, in do_cli
File "samcli/commands/build/build_context.py", line 202, in __enter__
File "samcli/commands/build/build_context.py", line 208, in set_up
File "samcli/lib/providers/sam_stack_provider.py", line 274, in get_stacks
File "samcli/lib/cfn_language_extensions/sam_integration.py", line 555, in expand_language_extensions
An unexpected error was encountered while executing "sam build".
Search for an existing issue:
https://github.com/aws/aws-sam-cli/issues?q=is%3Aissue+is%3Aopen+Bug%3A%20sam%20build%20-%20InvalidSamDocumentException
Or create a bug report:
https://github.com/aws/aws-sam-cli/issues/new?template=Bug_report.md&title=Bug%3A%20sam%20build%20-%20InvalidSamDocumentException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment