Skip to content

Commit

Permalink
Update main.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
wullub committed Jan 7, 2025
1 parent ceb5cb6 commit 4780d37
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions terraform/environments/oasys/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -218,3 +218,36 @@ module "baseline" {
lookup(local.baseline_environment_specific, "ssm_parameters", {}),
)
}

resource "aws_ami" "oasys_san_test" {
name = "OASys San Test"
description = "OASys SAN Test backup ami"
virtualization_type = "hvm"
root_device_name = "/dev/sda1"
ebs_block_device {
delete_on_termination = false
device_name = "/dev/sda1"
snapshot_id = "snap-0eefca38cbebc9289"
}
ebs_block_device {
delete_on_termination = false
device_name = "/dev/sda2"
snapshot_id = "snap-073b980c752b70d71"
}
ebs_block_device {
delete_on_termination = false
device_name = "/dev/sdb"
snapshot_id = "snap-0ccf326230b3def99"
}
ebs_block_device {
delete_on_termination = false
device_name = "/dev/sdc"
snapshot_id = "snap-05dcf8714290d64d1"
}
tags = merge(
local.tags,
{
Name = "oasys san test"
},
)
}

0 comments on commit 4780d37

Please sign in to comment.