XXXXXXX
Syntax by Element: <vpcpurpose>
Syntax by RegEx: ^[a-z0-9]{3,15}$
Format Elements
vpcpurpose: Defines the use case for the VPC
Allowed:
Count: 3 - 15
Chars: ^[a-z0-9]{3,15}$
Examples:
vpc01
testvpc
Examples
vpc01
testvpc
Syntax by Element: <vpcpurpose>-sn-<state>-<az>-<iteration>
Syntax by RegEx: ^[a-z0-9]{3,15}-sn-[pub|prv]{3,3}-[a|b|c|d|e|f]{1,1}-[0-9]{2,2}$
Format Elements
vpcpurpose: Defines the use case for the VPC
Allowed:
Count: 3 - 15
Chars: ^[a-z0-9]{3,15}$
Examples:
vpc01
testvpc
state: Is the subnet Public or Private?
Allowed:
Count: 3
Chars: ^[pub|prv]{3,3}$
Options:
pub
prv
az: A single character to identify the Availability Zone
Allowed:
Count: 1
Chars: ^[a|b|c|d|e|f]{1,1}$
Options:
a, b, c, d, e, f
iteration (Optional): 2 character code to iterate. Recommend starting w/ 01
Allowed:
Count: 2
Chars: ^[0-9]{2,2}$
Options:
01
32
Examples
vpc01-sn-pub-a-01
vpc01-sn-prv-b-01
testvpc-sn-prv-c-32
Syntax by Element: <vpcpurpose>-rt-<state>-<az>
Syntax by RegEx: ^[a-z0-9]{3,15}-rt-[pub|prv]{3,3}-([a|b|c|d|e|f]{1,1}|[all]{3,3})$
Format Elements
vpcpurpose: Defines the use case for the VPC
Allowed:
Count: 3 - 15
Chars: ^[a-z0-9]{3,15}$
Examples:
vpc01
testvpc
state: Is the subnet Public or Private?
Allowed:
Count: 3
Chars: ^[pub|prv]{3,3}$
Options:
pub
prv
az: A single character to identify the Availability Zone
Allowed:
Count: 1 (For single AZ), 3 (For all AZs)
Chars: ^([a|b|c|d|e|f]{1,1}|[all]{3,3})$
Options:
a, b, c, d, e, f
all
Examples
vpc01-rt-pub-a
vpc01-rt-prv-b
testvpc-rt-prv-all
Syntax by Element: <vpcpurpose>-igw
Syntax by RegEx: ^[a-z0-9]{3,15}-igw$
Format Elements
vpcpurpose: Defines the use case for the VPC
Allowed:
Count: 3 - 15
Chars: ^[a-z0-9]{3,15}$
Examples:
vpc01
testvpc
Examples
vpc01-igw
testvpc-igw
Syntax by Element: <vpcpurpose>-dhcp
Syntax by RegEx: ^[a-z0-9]{3,15}-dhcp$
Format Elements
vpcpurpose: Defines the use case for the VPC
Allowed:
Count: 3 - 15
Chars: ^[a-z0-9]{3,15}$
Examples:
vpc01
testvpc
Examples
vpc01-dhcp
testvpc-dhcp
Syntax by Element: <vpcpurpose>-eip-<resource>
Syntax by RegEx: ^[a-z0-9]{3,15}-eip-[a-z0-9]{3,16}$
Format Elements
vpcpurpose: Defines the use case for the VPC
Allowed:
Count: 3 - 15
Chars: ^[a-z0-9]{3,15}$
Examples:
vpc01
testvpc
resource: Describes the resource that the EIP belongs to
Allowed:
Count: 3 - 16
Chars: ^[a-z0-9]{3,16}$
Options:
nat01
pubWebSrv
Examples
vpc01-eip-nat01
testvpc-eip-pubWebSrv
Syntax by Element: <tgwpurpose>-tgw
Syntax by RegEx: ^[a-z0-9]{3,15}-tgw$
Format Elements
tgwpurpose: Defines the use case for the Transit Gateway
Allowed:
Count: 3 - 15
Chars: ^[a-z0-9]{3,15}$
Examples:
prod
test
Examples
prod-tgw
test-tgw
Syntax by Element: <tgwpurpose>-tgwa-<vpcpurpose>-<region>-<accountnum>
Syntax by RegEx: ^[a-z0-9]{3,15}-tgwa-[a-z0-9]{3,15}-[a-z]{3,4}[0-9]{1,1}-[0-9]{12,12}$
Format Elements
tgwpurpose: Defines the use case for the Transit Gateway
Allowed:
Count: 3 - 15
Chars: ^[a-z0-9]{3,15}$
Examples:
prod
test
vpcpurpose: Defines the vpc purpose name of the vpc you are attaching to
Allowed:
Count: 3 - 15
Chars: ^[a-z0-9]{3,15}$
Examples:
vpc01
test
region: Defines the region this bucket is located in
Allowed:
Count: 9 - 14
Chars: ^[a-z]{2,2}-[a-z]{4,9}-[0-9]{1,1}$
Examples:
us-west-2
ap-southeast-1
accountnum: The account number of the account the attachment connects to
Allowed:
Count: 12
Chars: ^[0-9]{12,12}$
Examples:
658748965215
Examples
prod-tgwa-vpc01-us-west-2-542596854125
test-tgwa-testvpc-ap-southeast-1-215632569854
Syntax by Element: <vpcpurpose>-sg-<env>-<sgpurpose>
Syntax by RegEx: ^[a-z0-9]{3,15}-sg-[pr|ts|co]{2,2}-[a-zA-Z0-9]{2,32}$
Format Elements
vpcpurpose: Defines the use case for the VPC
Allowed:
Count: 3 - 15
Chars: ^[a-z0-9]{3,15}$
Examples:
vpc01
testvpc
env: 2 character code for the environment
Allowed:
Count: 3
Chars: ^[pr|ts|co]{2,2}$
Examples:
pr - Production
ts - Test
co - Common (All Environments)
sgpurpose: Variable length code to describe the access
Allowed:
Count: 2 - 32
Chars: ^[a-zA-Z0-9-]{2,32}$
Examples:
webaccess
InboundRdp
Examples
vpc01-sg-pr-domainauth
testvpc-sg-ts-WebAccess