Loading...
Loading...
Compare original and translation side by side
terraform-scaffold.config.tsfunctionPrefixenvironmentsterraform-scaffold.config.tsfunctionPrefixenvironments| Concept | Convention | Example |
|---|---|---|
| Function prefix | PascalCase | |
| Full Lambda name | | |
| Resolver name | camelCase | |
| GraphQL constant | SCREAMING_SNAKE_CASE | |
| TF module name | | |
| TF lambda module | | |
| Composable file | | |
| GraphQL file | | |
| TF file per model | | |
| DynamoDB datasource | | |
| DynamoDB table | | |
| Query index | | |
toScreamingSnake_toPascallcfirst| 概念 | 约定规则 | 示例 |
|---|---|---|
| 函数前缀 | PascalCase | |
| Lambda完整名称 | | |
| 解析器名称 | camelCase | |
| GraphQL常量 | SCREAMING_SNAKE_CASE | |
| TF模块名称 | | |
| TF Lambda模块 | | |
| 可组合函数文件 | | |
| GraphQL文件 | | |
| 单模型对应的TF文件 | | |
| DynamoDB数据源 | | |
| DynamoDB表 | | |
| 查询索引 | | |
toScreamingSnake_toPascallcfirstap-southeast-2~/.aws/credentials~/.aws/configaws configure --profile <name>ap-southeast-2~/.aws/credentials~/.aws/configaws configure --profile <名称>@modelschema.graphqlquerymutationproductByIdAPPSYNC_JSLAMBDAGetItemQueryPutItemUpdateItemScanBatchDeleteItempayload: AWSJSONfilter: AWSJSONlimit: IntnextToken: Stringschema.graphql@modelquerymutationproductByIdAPPSYNC_JSLAMBDAGetItemQueryPutItemUpdateItemScanBatchDeleteItempayload: AWSJSONfilter: AWSJSONlimit: IntnextToken: StringRedeemNowstandardcronrate(5 minutes)RedeemNowstandardcronrate(5 minutes)terraform-scaffold.config.tsfunctionPrefixschema.graphqlterraform fmt.tfterraform validateterraform initterraform-scaffold.config.tsfunctionPrefixschema.graphql.tfterraform fmtterraform validateterraform init