Skip to content

Commit

Permalink
update example with working code
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Mar 3, 2026
1 parent 4b3ad0b commit 7947e47
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions examples/ec2/linux/census-rhel-instance.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
# }
# }

0 comments on commit 7947e47

Please sign in to comment.