To use this module in your Terraform, refer to the below module example:
module "aws_common_ami_copy" {
source = "git::https://github.com/dicomgrid/pt-modules.git?ref=null"
# See inputs below for additional required parameters
}
Name |
Version |
aws
|
~> 5.1.0 |
No modules.
Name |
Description |
Type |
Default |
Required |
amis_to_copy
|
A list of AMIs and their details to be copied |
list(object({ source_ami_id = string source_ami_region = string target_ami_name = string target_ami_description= string target_region = string encrypted = bool kms_key_id = string tags = map(string) })) |
n/a |
yes |
No outputs.