Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Convert To AWS SSMNew to Visual Studio Code? Get it now.
Convert To AWS SSM

Convert To AWS SSM

Rafael Rodrigues

|
4,182 installs
| (7) | Free
Convert Powershell and Shell scripts to AWS SSM documents
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Convert To AWS SSM

Convert Powershell and/or Shell scripts to AWS SSM documents.

VS Marketplace

https://marketplace.visualstudio.com/items?itemName=RafaelRodrigues.convertto-ssm

Features

This plugin is capable of generating both JSON and YAML AWS SSM Documents from PowerShell and/or Shell scripts. It is also capable of retrieving the script back from an SSM document. It does not support SSM documents with multiple steps.

Usage

  1. Open a PowerShell or Shell script of your choice
  2. Open the Command Palette (F1 or CMD/CTRL+Shift+P or "View" > "Command Palette...")
  3. Search for "ConvertTo-SSM", and two options will appear
    • "ConvertTo-SSM: Create JSON document"
    • "ConvertTo-SSM: Create YAML document"
    • "ConvertTo-SSM: Get script from AWS SSM document"
  4. Click desired conversion option

Configurations

  • EnableAutoCopyToClipboard

    • When enabled, the SSM document output is automatically copied to the clipboard
  • EnableCopyRunCommandOnly

    • When enabled alongside EnableAutoCopyToClipboard, it copies the 'RunCommand' section of the SSM command only (supported only on conversions from a script to SSM document)

Instructions

PowerShell To JSON SSM Documnet

PowerShell to Json

Shell script To JSON SSM Documnet

Shell to Json

PowerShell to YAML SSM document

PowerShell to Json

Shell script to YAML SSM document

Shell to Json

Known Issues

N/A

Release Notes

CHANGELOG

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft