From 7947e4790e5ec2a4c1d95840d4e84062a8ed033e Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Tue, 3 Mar 2026 14:23:06 -0500 Subject: [PATCH] update example with working code --- examples/ec2/linux/census-rhel-instance.tf | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/examples/ec2/linux/census-rhel-instance.tf b/examples/ec2/linux/census-rhel-instance.tf index c0edefa..d85fa41 100644 --- a/examples/ec2/linux/census-rhel-instance.tf +++ b/examples/ec2/linux/census-rhel-instance.tf @@ -48,3 +48,46 @@ module "ec2_instance" { var.additional_tags ) } + + +# Example for use in account-repos +# module "sc_test_ec2" { +# source = "git::https://github.e.it.census.gov/sct-engineering/aws-servicecatalog.git//modules/ec2" + +# # Product identity +# provisioned_product_name = "app-mcm-01" + +# # EC2-specific parameters +# instance_type = "t3.small" +# os_name = "RHEL9" +# requires_backup = "no" +# power_schedule = "Weekday_Core_Hours_7-7" + +# # Project/creator information +# project_name = "csvd_morpheus_dev_qa_dev-229685449397" +# creator = "morga471" +# contact_email = "matthew.c.morgan@census.gov" +# inc_poc_email = "csvd.aws.service.catalog.team.list@census.gov" +# fisma_id = "OCIO_CSVD (CEN16.09)" + +# # Network configuration (auto-discovers VPC/subnets by name tag) +# vpc_name = var.vpc_full_name +# subnets_name = "*-apps-*" + +# # Additional CloudFormation parameters +# parameters = { +# NameTag = "app-mcm-01" +# pDescription = "Service Catalog test instance via Terraform" +# SecurityGroupNames = "it-linux-base" +# TitleData = "no_title" +# MapMigrated = "notMigration: Not On-Prem to Cloud - New Build" +# } + +# # Tags +# tags = { +# Environment = "dev" +# ManagedBy = "Terraform" +# ServiceCatalog = "true" +# Purpose = "Testing" +# } +# } \ No newline at end of file