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

Usage

To use this module in your Terraform, refer to the below module example:

module "aws_ami_copy" {
  source = "git::https://github.com/dicomgrid/pt-modules.git?ref=aws/ami-copy/v1.0.0"

  # 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_subnet.main data source
aws_subnets.main data source
aws_vpc.main data source

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
subnets_filter Filter to apply to subnets when looking up subnet ids string "private" no

Outputs

No outputs.

Changelog

v1.0.0 (2025-06-26)

  • 🔀PR #281 - PLT-1: BREAKING: test
  • style(aws/ami-copy): auto-format Terraform code
⚠️ **GitHub.com Fallback** ⚠️