--- layout: "aws" page_title: "AWS: aws_ssm_document" sidebar_current: "docs-aws-resource-ssm-document" description: |- Provides an SSM Document resource --- # aws\_ssm\_document Provides an SSM Document resource ~> **NOTE on updating SSM documents:** Only documents with a schema version of 2.0 or greater can update their content once created, see [SSM Schema Features][1]. To update a document with an older schema version you must recreate the resource. ## Example Usage ``` resource "aws_ssm_document" "foo" { name = "test_document" document_type = "Command" content = <