Describe the bug
AWS Toolkit does not allow using reference for Runtime property of AWS::Serverless::Function.
Instead parameter selection popup window, I get AWS Toolkit: Invalid runtime LambdaRuntime defined in template C:/.../PycharmProjects/<project_name>/template.yaml
To reproduce
Create a Parameter (e.g. LambdaRuntime, with allowed values: python3.6, python3.7 and python3.8
Create a function and reference LambdaRuntime parameter for Runtime property
Go to Deploy Serverless Application
Expected behavior
SAM popup window with parameters shows up.
Describe the bug AWS Toolkit does not allow using reference for Runtime property of AWS::Serverless::Function. Instead parameter selection popup window, I get
AWS Toolkit: Invalid runtime LambdaRuntime defined in template C:/.../PycharmProjects/<project_name>/template.yaml
To reproduce
Expected behavior SAM popup window with parameters shows up.
Screenshots
Your Environment
Additional context I am able to run
from CLI with referenced Runtime.