mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-20 11:48:24 -06:00
AWS provides three different ways to create AMIs that each have different inputs, but once they are complete the same management operations apply. Thus these three resources each have a different "Create" implementation but then share the same "Read", "Update" and "Delete" implementations.
9 lines
406 B
Go
9 lines
406 B
Go
package aws
|
|
|
|
// FIXME: The aws_ami resource doesn't currently have any acceptance tests,
|
|
// since creating an AMI requires having an EBS snapshot and we don't yet
|
|
// have a resource type for creating those.
|
|
// Once there is an aws_ebs_snapshot resource we can use it to implement
|
|
// a reasonable acceptance test for aws_ami. Until then it's necessary to
|
|
// test manually using a pre-existing EBS snapshot.
|