Naming Conventions¶
Table of Contents¶
Overview¶
This document defines the naming conventions for all resources and artifacts created by the VPC Provisioner Tool.
Configuration Variables¶
All naming patterns use these variables from the configuration file:
{company_prefix}— Company identifier (e.g.,edge){env}— Environment (e.g.,prod,dev,staging){tenant_id}— Tenant identifier (e.g.,b001){region}— AWS region (e.g.,us-west-2)
The stem is the base name prefix used across all resources and files. Every resource the tool creates starts with this stem, making it easy to identify and manage all artifacts from a single deployment.
Stem pattern: {company_prefix}-{env}-{tenant_id}-{region}-vpc
Stem examples:
edge-prod-b001-us-west-2-vpcacme-dev-a003-us-east-1-vpctech-staging-c001-eu-west-1-vpc
For example, if your stem is edge-prod-b001-us-west-2-vpc, then:
Your stack is named
edge-prod-b001-us-west-2-vpc-stackYour template file is
edge-prod-b001-us-west-2-vpc-template.yamlYour IAM policy file is
edge-prod-b001-us-west-2-vpc-iam-policy.jsonYour log files start with
edge-prod-b001-us-west-2-vpc-
AWS Resources¶
VPC (Regional)¶
Auto-generated pattern: {stem}
Examples:
edge-prod-b001-us-west-2-vpcacme-dev-a003-us-east-1-vpc
Custom names: When vpc_name_override is set, the custom name is used instead.
CloudFormation Stack (Regional)¶
Pattern: {stem}-stack
Examples:
edge-prod-b001-us-west-2-vpc-stackacme-dev-a003-us-east-1-vpc-stack
IAM Policy (Global)¶
Pattern: {stem}-iam-policy
Examples:
edge-prod-b001-us-west-2-vpc-iam-policyacme-dev-a003-us-east-1-vpc-iam-policy
Subnets (Regional)¶
Pattern: {type}-subnet-{az_suffix}
Subnet names are derived from the subnet type and availability zone:
Type |
Example |
|---|---|
Public |
|
Private App |
|
Database |
|
Network Resources (Regional)¶
Resource |
Pattern |
Example |
|---|---|---|
Internet Gateway |
|
|
NAT Gateway |
|
|
Elastic IP |
|
|
Route Table |
|
|
Local Artifacts¶
Configuration Files¶
Pattern: {stem}.yaml
Location: vpc/configs/
Examples:
edge-prod-b001-us-west-2-vpc.yamlacme-dev-a003-us-east-1-vpc.yaml
CloudFormation Templates¶
Pattern: {stem}-template.yaml
Location: vpc/templates/
Examples:
edge-prod-b001-us-west-2-vpc-template.yamlacme-dev-a003-us-east-1-vpc-template.yaml
IAM Policy Files¶
Pattern: {stem}-iam-policy.json
Location: vpc/reports/
Examples:
edge-prod-b001-us-west-2-vpc-iam-policy.jsonacme-dev-a003-us-east-1-vpc-iam-policy.json
Traffic Assumptions Files¶
Pattern: {stem}-traffic.yaml
Location: vpc/configs/
Examples:
edge-prod-b001-us-west-2-vpc-traffic.yamlacme-dev-a003-us-east-1-vpc-traffic.yaml
Log Files¶
Pattern: {stem}-{action}-{timestamp}.log
Location: vpc/reports/
Examples:
edge-prod-a001-us-west-2-vpc-create-policy-20260224_173327_277.logedge-prod-a001-us-west-2-vpc-create-vpc-20260224_174156_473.log
HTML Reports¶
Pattern: {stem}-{action}-{timestamp}.html
Location: vpc/reports/
Examples:
edge-prod-a001-us-west-2-vpc-create-prov-template-20260224_173643_921.html
Naming Convention Summary¶
Resource |
Pattern |
|---|---|
VPC |
|
CloudFormation Stack |
|
IAM Policy |
|
Internet Gateway |
|
NAT Gateway |
|
Elastic IP |
|
Route Table |
|
Config File |
|
Template File |
|
Policy File |
|
Traffic File |
|
Log File |
|
HTML Report |
|
Where stem is {company_prefix}-{env}-{tenant_id}-{region}-vpc.