Skip to content

Stencil blocks to resolve account name and related values of AWS account

License

Notifications You must be signed in to change notification settings

walery/stencil-aws-account-resolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stencil-aws-account-resolver

Stencil blocks to resolve account name and related values of AWS account.

List of existent blocks

Following table shows list of existent blocks and what they are resolved to.

Block Resolution Original source
${stencil(account):alias} acme-playground API(IAM listAccountAliases).AccountAliases[0]
${stencil(account):companyTld} cloud ssm(us-east-1):/stencil/aws/companyTld
${stencil(account):id} 123456789012 API(STS getCallerIdentity).Account
${stencil(account):name} acme-playground API(Organizations describeAccount).Account.Name
${stencil(account):unit} playground ${stencil(account):name}.split('-').slice(1).join('-')
${stencil(account):companyName} acme ${stencil(account):name}.split('-')[0]
${stencil(account):companyDomain} acme.cloud ssm(us-east-1):/stencil/aws/companyDomain or ${stencil(account):companyName}.${stencil(account):companyTld} if ssm value is not available
${stencil(account):domain} playground.acme.cloud ${stencil(account):unit}.${stencil(account):companyDomain}
${stencil(account):domainHostedZoneId} Z3XXYYAABBCCDD API(Route53 listHostedZonesByName).Id

About

Stencil blocks to resolve account name and related values of AWS account

Resources

License

Stars

Watchers

Forks

Packages

No packages published