aws-cloudformation / aws-cloudformation/cloudformation-cli-java-plugin

`cfn init` shows warning: Could not find specified format 'date-time' for type 'string'. Defaulting to 'String'

未关闭
#348 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Java
星标
30
派生
48
PR 合并指标
30 天内没有已合并 PR

描述

```shell
MacBook@ ~/workspace/test-r-p $ cfn --version
cfn 0.2.1
MacBook@ ~/workspace/test-r-p $ cfn init
Initializing new project
Do you want to develop a new resource(r) or a module(m)?.
>> r
What's the name of your resource type?
(Organization::Service::Resource)
>> mparnisa::test::rp
Select a language for code generation:
[1] go
[2] java
[3] python36
[4] python37
(enter an integer):
>> 2
Enter a package name (empty for default 'com.mparnisa.test.rp'):
>>
Choose codegen model - 1 (default) or 2 (guided-aws):
>> 1
Could not find specified format 'date-time' for type 'string'. Defaulting to 'String'
Could not find specified format 'date-time' for type 'string'. Defaulting to 'String'
Initialized a new project in /Users/mparnisa/workspace/test-r-p
```

In the RPDK log:

```
[2021-01-11T22:30:50Z] DEBUG - ResourceModel POJO: /Users/mparnisa/workspace-sync/test-r-p/target/generated-sources/rpdk/com/mparnisa/test/rp/ResourceModel.java
[2021-01-11T22:30:50Z] ERROR - Could not find specified format 'date-time' for type 'string'. Defaulting to 'String'
[2021-01-11T22:30:50Z] ERROR - Could not find specified format 'date-time' for type 'string'. Defaulting to 'String'
[2021-01-11T22:30:50Z] DEBUG - Overwriting '/Users/mparnisa/workspace-sync/test-r-p/target/generated-sources/rpdk/com/mparnisa/test/rp/ResourceModel.java'
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。