Pretty much since day one of the Serverless Framework I manage deploys to stage and prod by passing in an environment variable to serverless.yml
...
provider:
name: aws
region: ${env:AWS_LAMBDA_REGION}
stage: ${env:AWS_STAGE}
runtime: nodejs14.x
...
Now I am getting errors
Cannot resolve serverless.yml: “provider.stage” property is not accessible (configured behind variables which cannot be resolved at this stage)
Of course we are discovering this as we are about to deploy an extensive update to our product.
Has anyone else seen this error? Any ideas for resolution?