aws∕common∕ami‒copy - dicomgrid/pt-modules GitHub Wiki

Usage

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
}

Attributes

Requirements

Name Version
terraform >= 1.0
aws ~> 5.1.0

Providers

Name Version
aws ~> 5.1.0

Modules

No modules.

Resources

Name Type
aws_ami_copy.example resource

Inputs

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

Outputs

No outputs.

Changelog

⚠️ **GitHub.com Fallback** ⚠️