-
Notifications
You must be signed in to change notification settings - Fork 97
Module to enable Data Lifecycle Manager to take snapshots of a EBS #197
Conversation
b404081
to
e377a67
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lpaulmp we'll want to parametize the name of the resources, eg include a name_prefix
that is a required variable.
8c1449d
to
3199a0f
Compare
@ketzacoatl I added the variable |
42649f0
to
7e600e7
Compare
…he IAM role to another role
d68066b
to
06e1f1f
Compare
@ketzacoatl This PR is ready to merge after upgrading the TF version (0.12) and adding types for the variables the modules creates the snapshots smoothly, I already tested with our infra. Also, I made a relevant change for the PR moving the IAM role creation |
06e1f1f
to
fb2fc63
Compare
] | ||
} | ||
EOF | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can merge this as-is, but we should update this code to use the data source so we can use HCL and don't have to do the messy JSON thing.
|
||
``` | ||
module "ebs-backup-policy" { | ||
source = "github.com/fpco/terraform-aws-foundation//modules/dlm-lifecycle-policy" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This example should source the module from the registry (we need a ticket for making sure all of our examples and docs do that - #268).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM!
Closes #196
Output
This example was deployed in a dev environment.