Skip to content

limitusus/terraform-aws-dlm-role

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-aws-dlm-role

Data Lifecycle Manager (DLM) role.

Provides typical role with policies based on https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-lifecycle.html

Requirements

No requirements.

Providers

Name Version
aws n/a

Modules

No modules.

Resources

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

Inputs

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

Outputs

Name Description
role_arn Role ARN
role_name Role name