Body
Purpose
The Platform Engineering Module Standard defines the requirements for creating, maintaining, documenting, testing, versioning, and consuming reusable infrastructure and platform automation modules.
This standard establishes a consistent implementation model for modules used within University-managed technology environments.
Modules provide reusable technical building blocks that are assembled into platform products and consumed through product deployments.
The purpose of this standard is to improve consistency, maintainability, supportability, traceability, and automation quality while reducing duplicated implementation logic.
Scope
This standard applies to:
- Infrastructure as Code modules
- Platform automation modules
- Bicep modules
- Terraform modules
- Cloud infrastructure modules
- Landing Zone modules
- Shared-service modules
- Governance modules
- Identity modules
- Network modules
- Monitoring modules
- Data-protection modules
- Resilience and recovery modules
- Workload-hosting modules
This standard applies regardless of the programming language, Infrastructure as Code framework, cloud provider, or automation platform used to implement a module.
Technology-specific development requirements may be defined through supplemental standards, development guides, repository configuration, or pipeline controls.
This standard does not define:
- Architecture patterns
- Platform product composition
- Workload architectures
- Cloud-provider-specific coding conventions
- Product-specific parameter values
- Deployment-specific configuration
- Regulatory control requirements
- Security-control requirements
- Operational procedures
Artifact Relationships
Modules, products, deployments, and service requests are distinct but related artifacts.
Module
|
v
Product
|
v
Deployment
|
v
Service Request
Module
A module is a reusable implementation building block that provides one logical technical capability.
Product
A product is a supported and versioned assembly of modules configured to provide a repeatable platform capability.
Deployment
A deployment is an instance of a product configured for a specific request, workload, environment, account, subscription, project, or organizational need.
Service Request
A service request provides the business, technical, ownership, financial, and operational context that authorizes or initiates a deployment.
Modules shall not be treated as complete platform products or workload deployments.
Repository Boundaries
Enterprise Architecture Repository
The Enterprise Architecture repository contains the governance and catalog artifacts associated with modules and products.
Enterprise Architecture artifacts may include:
- The Platform Engineering Module Standard
- The Platform Product Standard
- Architecture patterns
- Architecture Decision Records
- Product catalog entries
- Relationships between products and service-request processes
Infrastructure Repository
The Infrastructure repository contains executable Platform Engineering implementation artifacts.
Infrastructure repository artifacts may include:
- Modules
- Products
- Deployments
- Pipelines
- Automation scripts
- Testing assets
- Provider configuration
Executable Infrastructure as Code shall not be maintained as part of the Enterprise Architecture product catalog.
Module Design Principles
Reusability
Modules shall be designed for reuse across multiple products, workloads, environments, accounts, subscriptions, projects, and hosting scenarios whenever practical.
Modules shall not contain workload-specific or request-specific values that prevent reasonable reuse.
Single Responsibility
Each module shall provide one logical technical capability.
Modules shall not combine unrelated capabilities solely to simplify an individual deployment.
Composability
Modules shall be designed for composition into supported platform products.
Products shall compose modules rather than duplicate module implementation logic.
Idempotency
Modules shall support repeated deployment without creating duplicate resources or introducing unintended configuration changes.
Declarative Configuration
Modules should define the desired configuration of a capability rather than depend on undocumented manual actions.
Automation First
Infrastructure and platform configuration shall be implemented through approved automation whenever practical.
Technology Neutrality
The requirements of this standard apply across supported cloud providers and Infrastructure as Code technologies.
Technology-specific implementation details shall be defined separately from the common module requirements established by this standard.
Lifecycle Management
Modules shall support controlled lifecycle management through source control, documentation, testing, versioning, release management, and documented change history.
Repository Structure
The Infrastructure repository shall be organized primarily by platform capability.
infrastructure/
├── modules/
│ ├── organization-hierarchy/
│ ├── account-subscription-project/
│ ├── governance/
│ ├── identity/
│ ├── network/
│ ├── monitoring/
│ ├── data-protection/
│ ├── resilience-recovery/
│ ├── shared-services/
│ └── workload/
│
├── products/
│
├── deployments/
│
├── pipelines/
│
└── automation/
Only capability domains actively managed by Platform Engineering need to be present.
Additional capability domains may be added when a required capability does not reasonably fit within an existing domain.
Module Classification
Modules shall be organized according to the logical capability they provide.
Organization and Hierarchy Modules
Organization and hierarchy modules provide capabilities supporting cloud governance hierarchies.
Examples may include:
- Azure Management Groups
- AWS Organizations and Organizational Units
- Google Cloud organizations and folders
Account, Subscription, and Project Modules
Account, subscription, and project modules provide capabilities supporting cloud administrative and workload boundaries.
Examples may include:
- Azure subscriptions
- AWS accounts
- Google Cloud projects
Governance Modules
Governance modules provide reusable capabilities supporting policy, metadata, guardrails, compliance visibility, ownership, and resource governance.
Identity Modules
Identity modules provide reusable capabilities supporting identities, access assignments, authorization, workload identities, and identity integration.
Network Modules
Network modules provide reusable capabilities supporting network boundaries, connectivity, segmentation, communication paths, routing, and related network services.
Monitoring Modules
Monitoring modules provide reusable capabilities supporting telemetry collection, diagnostic integration, operational visibility, security visibility, alerting, and auditability.
Data Protection Modules
Data-protection modules provide reusable capabilities supporting encryption services, key-management services, storage protection, retention-service integration, and data-protection monitoring.
Resilience and Recovery Modules
Resilience and recovery modules provide reusable capabilities supporting backup, restoration, replication, recoverability, and recovery-service integration.
Shared-Service Modules
Shared-service modules provide reusable capabilities supporting integration with approved enterprise identity, monitoring, governance, management, automation, and platform services.
Workload Modules
Workload modules provide reusable hosting capabilities for workload resources such as compute, storage, databases, applications, integrations, and platform services.
Capability-Oriented Organization
Modules shall be organized first by capability rather than by cloud provider or Infrastructure as Code technology.
Provider or technology distinctions shall be introduced within a capability when needed to prevent ambiguity.
Examples include:
modules/
├── identity/
│ ├── azure-managed-identity/
│ ├── aws-iam-role/
│ └── gcp-service-account/
│
├── network/
│ ├── azure-virtual-network/
│ ├── aws-virtual-private-cloud/
│ └── gcp-virtual-private-cloud/
│
└── monitoring/
├── azure-diagnostic-settings/
├── aws-log-delivery/
└── gcp-log-sink/
A provider prefix should be used when the capability name would otherwise be ambiguous.
Provider-neutral modules may omit a provider prefix when the module genuinely supports multiple providers without obscuring its behavior.
Individual Module Structure
Each module shall be stored within its own directory.
The minimum module structure is:
module-name/
├── main
└── README.md
The primary module file shall use the filename and extension required by the applicable implementation technology.
Examples include:
- main.bicep
- main.tf
- main.py
- index.ts
A module may include a tests directory when automated testing assets are required.
module-name/
├── main
├── README.md
└── tests/
Additional supporting files may be included when required by the implementation technology or module capability.
Modules should remain as simple as practical while satisfying applicable documentation, testing, security, and lifecycle-management requirements.
Naming Requirements
Module Names
Module names shall describe the capability provided by the module.
Module-directory names shall use lowercase words separated by hyphens unless another convention is required by the implementation technology.
Examples include:
- azure-managed-identity
- azure-virtual-network
- log-analytics-workspace
- recovery-services-vault
- activity-log-export
- subscription-placement
Capability-Domain Names
Capability-domain names shall describe logical platform capabilities rather than individual products, deployments, applications, projects, or service requests.
Resource Names
Modules that determine deployed resource names shall support approved enterprise resource-naming conventions.
Modules should allow consuming products or deployments to supply the contextual values required to construct compliant names.
Resource names shall not embed workload-specific values directly in reusable module source.
Module Implementation
The primary module file shall contain the reusable implementation of the module capability.
Module implementation shall:
- Declare required and optional inputs
- Declare outputs needed by consumers
- Use supported provider resources and interfaces
- Avoid workload-specific configuration
- Avoid deployment-specific parameter values
- Avoid embedded credentials and secrets
- Support repeated deployment
- Follow applicable technology-specific development requirements
Inputs
Modules shall explicitly declare required and optional inputs.
Inputs shall:
- Use descriptive names
- Be documented in the README
- Identify whether they are required or optional
- Use appropriate data types
- Use validation when practical
- Avoid undocumented dependencies
- Avoid unnecessary exposure of provider implementation details
Inputs with safe and broadly applicable values may define defaults.
Inputs affecting security, governance, data protection, network exposure, identity, or architectural boundaries shall not use permissive defaults solely to simplify deployment.
Modules should avoid excessive numbers of required inputs.
Related inputs may be grouped into configuration objects when grouping improves consistency and usability.
Parameter and Configuration Values
Reusable modules shall not contain product-specific, environment-specific, workload-specific, or service-request-specific parameter values.
Modules declare inputs. Products and deployments provide values for those inputs.
Product-level parameter and configuration files shall be maintained with the product implementation.
products/
└── product-name/
├── main
└── parameters/
Deployment-level parameter and configuration files shall be maintained with the deployment implementation.
deployments/
└── deployment-name/
├── main
└── parameters/
Parameter files shall not contain unprotected secrets, credentials, tokens, certificates, or private keys.
Outputs
Modules shall expose outputs required by consuming products or dependent modules.
Outputs shall:
- Use descriptive names
- Be explicitly declared
- Be documented in the README
- Remain stable within a major module version whenever practical
- Avoid exposing unnecessary internal implementation details
- Avoid exposing secrets or sensitive values
Common outputs may include:
- Resource identifiers
- Resource names
- Resource locations
- Service endpoints
- Identity identifiers
- Network identifiers
- Configuration values required by dependent modules
Dependency Management
Explicit Dependencies
Module dependencies shall be explicitly defined through supported dependency mechanisms, inputs, outputs, references, or documented prerequisites.
Modules shall not rely on undocumented deployment ordering.
Loose Coupling
Modules should minimize direct dependencies on other modules whenever practical.
A module should consume stable identifiers or configuration values rather than depend on another module's internal implementation.
Cross-Domain Dependencies
Cross-domain dependencies shall be documented in the README.
Examples may include:
- A monitoring module consuming a resource identifier
- A network module consuming an account, subscription, or project identifier
- A recovery module consuming a monitoring-service identifier
- A workload module consuming network and identity outputs
Dependency Direction
Module dependencies should be coordinated by the consuming product.
Modules shall not consume complete products or deployments.
Products may consume modules.
Deployments may consume products and provide deployment-specific configuration.
Documentation Requirements
Every module shall include a README file.
The README shall include:
- Module name
- Purpose
- Capability provided
- Supported provider
- Implementation technology
- Deployment scope
- Required inputs
- Optional inputs
- Default values
- Outputs
- Dependencies
- Example usage
- Known limitations
- Support information
Example usage shall be documented directly within the README.
Separate example directories are not required.
Example usage shall:
- Show the supported method for consuming the module
- Use synthetic or non-sensitive values
- Identify important prerequisites
- Remain consistent with the current module interface
The README shall be updated when module behavior, inputs, outputs, dependencies, limitations, or supported scenarios change.
Testing Requirements
Every module shall pass the automated syntax, formatting, linting, or validation checks applicable to its implementation technology.
Testing shall be proportionate to the complexity, impact, and risk of the capability provided.
Testing may include:
- Formatting validation
- Syntax validation
- Compilation or template-build validation
- Linting
- Static analysis
- Security scanning
- Provider validation
- Deployment preview or change analysis
- Deployment validation
- Integration validation
- Idempotency validation
Pipeline-Based Testing
Simple modules may satisfy testing requirements through repository pipelines without maintaining a dedicated tests directory.
Pipeline-based testing may validate that a module:
- Uses valid syntax
- Compiles successfully when compilation is applicable
- Passes applicable linting rules
- Passes applicable security scans
- Uses valid module references
Dedicated Test Assets
A tests directory should be included when testing requires additional files, scripts, assertions, fixtures, or deployment configurations.
module-name/
├── main
├── README.md
└── tests/
├── validation
├── integration
└── idempotency
The internal structure of the tests directory may follow the conventions of the applicable testing framework.
Deployment Validation
Modules used by production, enterprise, or regulated products should be deployment-validated before release when practical.
Deployment validation may confirm that:
- The module deploys successfully
- The expected resources are created or configured
- Required outputs are returned
- Repeated execution does not introduce unintended changes
- Applicable governance and metadata are preserved
Testing Maturity
Testing practices may mature over time as Platform Engineering capabilities, pipelines, technologies, and test environments evolve.
The absence of a tests directory does not exempt a module from applicable repository validation requirements.
Metadata and Tagging
Modules that deploy resources shall support approved enterprise metadata when the target provider and resource type support tags, labels, or equivalent metadata.
Metadata values shall be supplied by the consuming product or deployment rather than hard-coded within reusable module source.
Modules shall preserve and apply supplied metadata consistently to supported resources.
Modules shall not silently remove or replace metadata supplied by a consuming product or deployment.
Standard Metadata
The standard metadata set is:
- Environment
- WorkloadClassification
- DataClassification
- BusinessOwner
- TechnicalOwner
- Worktag
- Ticket
- Product
- ProductVersion
Environment
Environment identifies the operational environment associated with the resource.
Examples may include:
- Development
- Test
- Production
WorkloadClassification
WorkloadClassification identifies the approved workload classification associated with the deployed resource.
DataClassification
DataClassification identifies the applicable data classification associated with the deployed resource.
When a resource supports multiple data classifications, the value shall represent the highest applicable classification or another value approved through the Data Classification Standard.
BusinessOwner
BusinessOwner identifies the unit, department, or organizational function accountable for the business purpose and continued need for the resource.
TechnicalOwner
TechnicalOwner identifies the team or organizational function responsible for technical operation and support of the resource.
Worktag
Worktag identifies the approved financial worktag associated with the resource or deployment.
Ticket
Ticket identifies the service request, project request, change record, or other approved work item that authorized or initiated the deployment.
The ticket record may provide additional context regarding applications, integrations, services, stakeholders, approvals, and business requirements associated with the deployment.
Product
Product identifies the platform product responsible for deploying or reconciling the resource.
Examples may include:
- enterprise-landing-zone
- hipaa-landing-zone
- azure-migrate-workload-onboarding
ProductVersion
ProductVersion identifies the version of the platform product used to deploy or most recently reconcile the resource.
Product and ProductVersion provide traceability from deployed resources to the product implementation responsible for their configuration.
Metadata Applicability
Metadata requirements apply when the cloud provider and resource type support tags, labels, or equivalent metadata.
When a resource does not support metadata directly, metadata should be applied at the nearest appropriate parent scope or maintained through approved inventory and governance capabilities.
Source Control and Review
Modules shall be stored in an approved Platform Engineering source-control repository.
Module changes shall:
- Be associated with an approved work item or ticket
- Be reviewable
- Be traceable to the responsible change
- Pass applicable automated validation
- Be reviewed before merging into a protected branch
Direct and unreviewed modification of released module source shall not be used as a normal implementation method.
Version Management
Version Identification
Released modules shall have an identifiable version.
Module consumers should reference identifiable module versions rather than mutable development references.
Semantic Versioning
Modules should use semantic versioning.
MAJOR.MINOR.PATCH
- MAJOR identifies incompatible changes.
- MINOR identifies backward-compatible capability additions.
- PATCH identifies backward-compatible corrections.
Breaking Changes
Changes that remove or rename inputs, alter input meaning, remove outputs, alter output meaning, or materially change deployed behavior shall be treated as breaking changes.
Change Documentation
Released module changes shall be documented through release notes, change history, source-control releases, or another approved release-management mechanism.
Module and Product Versions
Module versions and product versions are separate.
A module version identifies a released implementation of one reusable technical capability.
A product version identifies a tested composition of module versions and product-level configuration.
External and Verified Modules
Approved external or provider-maintained modules should be evaluated before creating a new University implementation of the same capability.
External modules may be consumed directly when they satisfy applicable requirements for:
- Functionality
- Security
- Supportability
- Documentation
- Versioning
- Testing
- Lifecycle management
Use of an external module does not remove the responsibility to satisfy applicable University standards.
Wrapper Modules
Wrapper modules may be implemented around approved external or provider-maintained modules.
A wrapper module may provide:
- Enterprise defaults
- Enterprise naming integration
- Metadata integration
- Monitoring integration
- Identity integration
- Governance integration
- Security configuration
- Simplified product consumption
Wrapper modules shall not unnecessarily duplicate the complete implementation of an external module.
The README shall document the external module and version upon which the wrapper depends.
Technology-Specific Requirements
Technology-specific requirements shall be maintained separately from this standard.
Supplemental standards or development guides may include:
- Bicep development requirements
- Terraform development requirements
- Azure Verified Module usage requirements
- Provider-specific naming requirements
- Provider-specific testing requirements
- Provider-specific release requirements
- Registry and publishing requirements
- State-management requirements
Technology-specific standards and guides shall not replace the common module requirements defined by this standard.
Security Requirements
Modules shall support applicable governance, identity, network, monitoring, data-protection, resilience, recovery, and shared-service requirements.
Modules shall not embed secrets, credentials, private keys, certificates, tokens, or other sensitive values directly in source code.
Sensitive values shall be obtained through approved secret-management, identity, pipeline, or deployment mechanisms.
Sensitive values shall not be exposed through:
- Module outputs
- Logs
- README examples
- Test results
- Error messages
- Parameter files committed to source control
Modules shall avoid permissive defaults that unnecessarily expose resources or weaken applicable safeguards.
Module Consumption
Released modules should be consumed through approved references, registries, or versioned source locations.
Consuming products shall:
- Reference identifiable module versions
- Provide required module inputs
- Capture outputs required by dependent modules
- Provide standard metadata
- Document product-level dependencies
- Validate the assembled product
Deployments should consume supported products rather than independently assembling low-level modules when an approved product already provides the required capability.
Module Deprecation
Deprecated modules shall be clearly identified.
Deprecation information shall be included in the README and should identify:
- Deprecation status
- Replacement module or product when available
- Migration considerations
- Known compatibility impacts
Deprecated modules shall not be used in new products or deployments unless an approved exception exists.
Operational Responsibilities
Enterprise Architecture
Enterprise Architecture owns:
- The Platform Engineering Module Standard
- The Platform Engineering Product Standard
- Architecture patterns informing module and product design
- The platform product catalog
- Relationships between architecture artifacts and product catalog entries
Platform Engineering
Platform Engineering owns:
- Module design
- Module implementation
- Module documentation
- Module testing
- Module versioning
- Module release management
- Module lifecycle management
- Infrastructure repository organization
- Module and product deployment pipelines
Information Security
Information Security provides security requirements consumed by modules and participates in reviews when module behavior affects security architecture or regulated environments.
Product Maintainers
Product maintainers are responsible for:
- Selecting approved module versions
- Supplying product-level configuration
- Documenting product dependencies
- Validating the assembled product
- Maintaining the product version
Deployment Maintainers
Deployment maintainers are responsible for supplying:
- Deployment-specific configuration
- Business ownership information
- Technical ownership information
- Financial worktag information
- Ticket information
- Environment-specific values
Conformance
A module conforms to this standard when it:
- Provides one logical technical capability
- Is stored within the appropriate capability domain
- Includes a primary implementation file
- Includes a current README
- Declares and documents its inputs
- Declares and documents its outputs
- Documents its dependencies
- Includes example usage in the README
- Supports applicable enterprise metadata
- Passes applicable automated validation
- Uses an identifiable version when released
- Does not embed sensitive values
- Supports repeated deployment without unintended duplication
A tests directory is not required for conformance when applicable testing is fully implemented through repository pipelines.
Exceptions
Exceptions to this standard must follow approved architecture governance and information security exception processes.
Approved exceptions must be documented, periodically reviewed, and must not be treated as permanent implementation models.