diff --git a/morpheus.tf b/morpheus.tf index 0ca3b24..3ec5e02 100644 --- a/morpheus.tf +++ b/morpheus.tf @@ -1,3 +1,6 @@ +data aws_ssm_parameter "rhel9_ami" { + name = "/enterprise/ami/rhel9" +} module "morpheus" { source = "HappyPathway/image-pipeline/aws" @@ -35,7 +38,7 @@ module "morpheus" { state = local.state_config vpc_config = local.vpc_config ami = { - source_ami = "ami-0e6191a82a929381a" # x86_64 compatible AMI - RHEL9 quick start image + source_ami = data.aws_ssm_parameter.rhel9_ami.value instance_type = "t3.micro" # x86_64 compatible instance type } }