This extension help you author AWS CloudFormation templates with ease.
It uses JSON schema validation features of VSCode to validate your template files against a schema for AWS CloudFormation (currently uses cloudformation-jsonschema)
- Supports authoring of CloudFormation templates in JSON
- Highlights errors with a helpful error message (in the "Problems" pane, and as a pop-up message visible on hover)
- Highlights errors when JSON is malformed
- Highlights errors for required elements, required properties, invalid document structure, etc.
- Suggests top-level elements (such as
Parameters
,Resources
, etc.) - Auto-completes known elements (such as
AWSTemplateFormatVersion
) - Auto-completes structure of elements, intrinsic functions, etc.
- Suggests supported properties for elements in
Parameters
,Resources
,Outputs
, etc. - Suggests supported
Type
information forParameters
andResources
- Suggests required and supported properties for each resource (by
Type
) - Suggests intrinsic function names and 'shape'
- Currently relies upon a JSON schema for CloudFormation as published at cloudformation-jsonschema
See TODO and requirements
- Suggest top-level elements
- Validate that JSON is well-formed
- Suggest properties for
Parameters
elements
- Validate required
Type
forParameters
elements
- Suggest
Type
forParameters
elements
- Validate
Type
value forParameters
- Suggest properties for
Resources
elements
- Suggest
Type
forResources
elements
- Validate required properties for a given resource (by
Type
)
- Suggest properties for a given resource (by
Type
)
- Suggest intrinsic function names
- Suggest intrinsic function 'shape'
This extension is active when working with templates with a filename ending in .cf.json
The source for this extension is maintained at Github repository cf-plugin