Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hook models are not generated #72

Open
BourgoisMickael opened this issue Aug 9, 2022 · 1 comment
Open

Hook models are not generated #72

BourgoisMickael opened this issue Aug 9, 2022 · 1 comment

Comments

@BourgoisMickael
Copy link

The src/models file contains only

// This is a generated file. Modifications will be overwritten.
import { BaseModel, Dict, integer, Integer, Optional, transformValue } from '@amazon-web-services-cloudformation/cloudformation-cli-typescript-lib';
import { Exclude, Expose, Type, Transform } from 'class-transformer';

Step to reproduce:

cfn init
Initializing new project
Do you want to develop a new resource(r) or a module(m) or a hook(h)?.
>> h
What's the name of your hook type?
(Organization::Service::Hook)
>> ABC::Sample::Hook
Select a language for code generation:
[1] python36
[2] python37
[3] typescript
(enter an integer):
>> 3
Use docker for platform-independent packaging (Y/n)?
This is highly recommended unless you are experienced
with cross-platform Typescript packaging.
>> Y
Initialized a new project in /Users/abc/project/hook
@mmaeng
Copy link
Contributor

mmaeng commented Jan 19, 2023

Hi @BourgoisMickael

The models files gets generated from your schema when you do a cfn generate

Is that not working for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants