Resource: aws_m2_deployment

Terraform resource for managing an AWS Mainframe Modernization Deployment.

Example Usage

Basic Usage

resource "aws_m2_deployment" "test" {
  environment_id      = "01234567890abcdef012345678"
  application_id      = "34567890abcdef012345678012"
  application_version = 1
  start               = true
}

Argument Reference

The following arguments are required:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Timeouts

Configuration options:

Import

In Terraform v1.5.0 and later, use an import block to import Mainframe Modernization Deployment using the APPLICATION-ID,DEPLOYMENT-ID. For example:

import {
  to = aws_m2_deployment.example
  id = "APPLICATION-ID,DEPLOYMENT-ID"
}

Using terraform import, import Mainframe Modernization Deployment using the APPLICATION-ID,DEPLOYMENT-ID. For example:

% terraform import aws_m2_deployment.example APPLICATION-ID,DEPLOYMENT-ID