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

Adding resource type for VS Code Remote Development #5

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

486
Copy link

@486 486 commented Feb 10, 2021

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.

},
"devDependencies": {
"@types/node": "^12.19.16",
"typescript": "^3.8.3"

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)

Copy link
Author

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",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

resource-types/VSCodeRemoteDevelopment/README.md Outdated Show resolved Hide resolved
resource-types/VSCodeRemoteDevelopment/README.md Outdated Show resolved Hide resolved
resource-types/VSCodeRemoteDevelopment/README.md Outdated Show resolved Hide resolved
resource-types/VSCodeRemoteDevelopment/README.md Outdated Show resolved Hide resolved
resource-types/VSCodeRemoteDevelopment/README.md Outdated Show resolved Hide resolved
resource-types/VSCodeRemoteDevelopment/README.md Outdated Show resolved Hide resolved
resource-types/VSCodeRemoteDevelopment/README.md Outdated Show resolved Hide resolved
resource-types/VSCodeRemoteDevelopment/README.md Outdated Show resolved Hide resolved
resource-types/VSCodeRemoteDevelopment/README.md Outdated Show resolved Hide resolved
resource-types/VSCodeRemoteDevelopment/README.md Outdated Show resolved Hide resolved
"handlers": {
"create": {
"permissions": [
"*"

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",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

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?

@486
Copy link
Author

486 commented Nov 17, 2021

@PatMyron thanks for picking this up, working on it...

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

Successfully merging this pull request may close these issues.

4 participants