--- layout: "aws" page_title: "AWS: aws_ssm_activation" sidebar_current: "docs-aws-resource-ssm-activation" description: |- Registers an on-premises server or virtual machine with Amazon EC2 so that it can be managed using Run Command. --- # aws\_ssm\_activation Registers an on-premises server or virtual machine with Amazon EC2 so that it can be managed using Run Command. ## Example Usage ``` resource "aws_iam_role" "test_role" { name = "test_role" assume_role_policy = <