AWS Systems Manager Activation

This page shows how to write Terraform for Systems Manager Activation and write them securely.

aws_ssm_activation (Terraform)

The Activation in Systems Manager can be configured in Terraform with the resource name aws_ssm_activation. The following sections describe 3 examples of how to use the resource and its parameters.

Example Usage from GitHub

ssm_activation_test.tf#L12
resource "aws_ssm_activation" "ssm_activation" {
  name               = "test_ssm_advanced_activation"
  description        = "Test"
  iam_role           = "my-test-iam-role"
  registration_limit = 1001
}
ssm_activation_test.tf#L12
resource "aws_ssm_activation" "ssm_activation" {
  name               = "test_ssm_advanced_activation"
  description        = "Test"
  iam_role           = "my-test-iam-role"
  registration_limit = 1001
}
main.tf#L7
resource "aws_ssm_activation" "this" {
  description        = var.description
  expiration_date    = var.expiration_date
  iam_role           = var.iam_role
  name               = var.name
  registration_limit = var.registration_limit

Review your Terraform file for AWS best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

Explanation in Terraform Registry

Registers an on-premises server or virtual machine with Amazon EC2 so that it can be managed using Run Command.

CloudFormation Example

CloudFormation code does not have the related resource.

Frequently asked questions

What is AWS Systems Manager Activation?

AWS Systems Manager Activation is a resource for Systems Manager of Amazon Web Service. Settings can be wrote in Terraform.

Where can I find the example code for the AWS Systems Manager Activation?

For Terraform, the gilyas/infracost, infracost/infracost and niveklabs/aws source code examples are useful. See the Terraform Example section for further details.

security-icon

Automate config file reviews on your commits

Fix issues in your infrastructure as code with auto-generated patches.