Panfactum LogoPanfactum
ConfigurationAWS Config Files

AWS Configuration Files

config.yaml

Example File

This file instructs the pf-update-aws --build command how to generate the aws config file (config) which is used by the AWS CLI and SDK.

Format

YAML Schema

sso_start_url = string
sso_region = string
default_aws_region = optional(string)
module = optional(string)
extra_roles = optional(list(object({
    account_name = string
    account_id = string
    roles = list(string)
})))

Top-level Keys

ValueDescriptionExample
sso_start_urlThe sign-in url to your IAM Identity Center instancehttps://panfactum.awsapps.com/start
sso_regionThe region of your IAM Identity center instanceus-east-2
default_aws_region(Optional) The default region for all configured profilesus-east-2
module(Optional) A path from <environments_dir> to your aws_iam_identity_center_permissions module (if using)management/global/aws_iam_identity_center_permissions
extra_roles(Optional) Additional statically configured extra roles to useSee below

extra_roles

This is a list containing objects with the following fields:

ValueDescriptionExample
account_nameAn arbitrary human-readable name for the accountproduction
account_idThe AWS account id for the account1234567891232
rolesA list of the IAM Identity Center PermissionSets assigned to this account["ExampleRole1", "ExampleRole2"]