Serverless v4 Parameters

Does v4 has different parameters now?

${opt:region, self:provider.region}
${opt:stage, self:provider.stage}

Seems to not be working.

Also encountering these error:

✖ File or directory '/**/framework-core/packages/serverless/lib/plugins/aws/custom-resources/resources' was not included into executable at compilation stage. Please recompile adding it as asset or script.

Error: File or directory '/**/framework-core/packages/serverless/lib/plugins/aws/custom-resources/resources' was not included into executable at compilation stage. Please recompile adding it as asset or script.

dotnet 8