Data Lifecycle Manager (DLM) role.
Provides typical role with policies based on https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-lifecycle.html
No requirements.
Name | Version |
---|---|
aws | n/a |
No modules.
Name | Type |
---|---|
aws_iam_role.this | resource |
aws_iam_role_policy_attachment.ami | resource |
aws_iam_role_policy_attachment.snapshot | resource |
aws_iam_policy_document.assume_by_dlm | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
enable_ami_lifecycle | Enable AMI lifecycle management | bool |
false |
no |
enable_snapshot_lifecycle | Enable snapshot lifecycle management | bool |
false |
no |
role_description | DLM Role description | string |
"AWS DLM Role" |
no |
role_name | DLM Role name | string |
"AWSDataLifecycleManagerRole" |
no |
role_path | DLM Role path | string |
"/" |
no |
tags | Resource tags | map(string) |
{} |
no |
Name | Description |
---|---|
role_arn | Role ARN |
role_name | Role name |