Environment
Resource for managing an AWS Mainframe Modernization Environment.
Example Usage
Basic Usage
resources:
test:
type: aws:m2:Environment
properties:
name: test-env
engineType: bluage
instanceType: M2.m5.large
securityGroups:
- sg-01234567890abcdef
subnetIds:
- subnet-01234567890abcdef
- subnet-01234567890abcdea
High Availability
resources:
test:
type: aws:m2:Environment
properties:
name: test-env
engineType: bluage
instanceType: M2.m5.large
securityGroups:
- sg-01234567890abcdef
subnetIds:
- subnet-01234567890abcdef
- subnet-01234567890abcdea
highAvailabilityConfig:
desiredCapacity: 2
EFS Filesystem
resources:
test:
type: aws:m2:Environment
properties:
name: test-env
engineType: bluage
instanceType: M2.m5.large
securityGroups:
- sg-01234567890abcdef
subnetIds:
- subnet-01234567890abcdef
- subnet-01234567890abcdea
storageConfiguration:
efs:
fileSystemId: fs-01234567890abcdef
mountPoint: /m2/mount/example
FSX Filesystem
resources:
test:
type: aws:m2:Environment
properties:
name: test-env
engineType: bluage
instanceType: M2.m5.large
securityGroups:
- sg-01234567890abcdef
subnetIds:
- subnet-01234567890abcdef
- subnet-01234567890abcdea
storageConfiguration:
fsx:
fileSystemId: fs-01234567890abcdef
mountPoint: /m2/mount/example
Import
Using pulumi import
, import Mainframe Modernization Environment using the 01234567890abcdef012345678
. For example:
$ pulumi import aws:m2/environment:Environment example 01234567890abcdef012345678
Properties
Engine type must be microfocus
or bluage
.
The specific version of the engine for the Environment.
The id of the Environment.
Force update the environment even if applications are running.
M2 Instance Type. The following arguments are optional:
ARN of the load balancer created by the Environment.
Configures the maintenance window that you want for the runtime environment. The maintenance window must have the format ddd:hh24:mi-ddd:hh24:mi
and must be less than 24 hours. If not provided a random value will be used.
Allow applications deployed to this environment to be publicly accessible.
List of security group ids.