Comments (8)
@SET001 -- You're correct. At the moment we do not support variables. This should not take long to implement and will put it on my task queue. In the meantime, you are welcome to put up a PR.
from aws-utils.
@cbaron I have some free time on this weekends so I difinelty can try to prepare some PR. Can you give me a short help on where to begin with and how you see realisation?
from aws-utils.
from what I see in code, here we have loadServerlessConfig that can be used to load and parse yml file and seems like it resolves variables correctly. Can it be used in server.js:createSchema?
from aws-utils.
@SET001 I added a test case and fixed it for this particular issue. This should be fixed in 0.7.3
from aws-utils.
than you, it is fixed now )
from aws-utils.
I thisnk following also related to this issue. The problem is that you can't use Rel
syntax in yml files. The following defenition
dataSources:
- type: AMAZON_DYNAMODB
name: Subscriber
description: 'Subscribers table'
config:
tableName: {Ref: EnsSubscribersDDBTable}
result it such an error:
✖ error Query.getAllSubscribers failed
✖ error InvalidParameterType: Expected params.TableName to be a string
from aws-utils.
@SET001 This one is harder I don't think we can support cloud formation template syntax at this time. Can you assign the name to a serverless variable and use it in both places?
from aws-utils.
If needed pleas open a new issue to discuss supporting cloud formation syntax. I don't think we can support it at this time but if it's a serious blocker we can see what we can do.
from aws-utils.
Related Issues (20)
- Cannot find function config for function : undefined HOT 1
- Failure trying to run tests HOT 3
- ValueMapper: JavaString HOT 2
- Feature request: Aurora (RDS) Serverless support HOT 1
- AppSync Emulator - Support Condition Expressions
- AppSync Emulator - Support $context.stash
- appsync emulator resultItems mapping template example does not work in AWS
- [appsync-emulator-serverless] Does not respect multiple appsSync API's in config HOT 2
- AppSync Emulator - Support RegEx in string split
- Cannot Install on Windows HOT 1
- [appsync-emulator-serverless] Conflicting peer dependencies
- Bug with getting PID by port HOT 9
- Lambda datasource docker HOT 12
- Emulator does not throw error when AppSync does
- AppSync Emulator - AWSEmail and AWSURL HOT 1
- Incorrect string equality in VTL templates HOT 1
- Unable to Invoke lambda function HOT 2
- Mismatch between AWSJSON and AppSync
- Assertions within createSchema method prevent DynamoDB from being null HOT 1
- Incorrect $util.isNullOrEmpty check in appsynce-emulator HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-utils.