-
Notifications
You must be signed in to change notification settings - Fork 55
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
Adding resource type for VS Code Remote Development #5
base: main
Are you sure you want to change the base?
Conversation
}, | ||
"devDependencies": { | ||
"@types/node": "^12.19.16", | ||
"typescript": "^3.8.3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would use typescript v4+ (it does not matter now, but the model generation might need in the future)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
"@aws-cdk/aws-iam": "1.58.0", | ||
"@aws-cdk/core": "1.58.0", | ||
"@types/uuid": "^8.3.0", | ||
"cfn-rpdk": "https://github.com/eduardomourar/cloudformation-cli-typescript-plugin/releases/download/v0.5.0/cfn-rpdk-0.5.0.tgz", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The GA version should be used here: https://www.npmjs.com/package/@amazon-web-services-cloudformation/cloudformation-cli-typescript-lib
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
"handlers": { | ||
"create": { | ||
"permissions": [ | ||
"*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"description": "The EC2 Instance Type of developer instance. You can only select instance types that support hibernation", | ||
"type": "string", | ||
"default": "m4.xlarge", | ||
"enum": ["c4.large", "c4.xlarge", "c4.2xlarge", "c4.4xlarge", "c4.8xlarge", "c5.large", "c5.xlarge", "c5.2xlarge", "c5.4xlarge", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@PatMyron I'd remove the enum. Is it sensible to keep the default, or would you remove this as well, as it could be invalid at some point in the future?
@PatMyron thanks for picking this up, working on it... |
Issue #, if available:
Description of changes:
Submitting a new resource type as discussed with @craigataws
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.