Skip to main content

awsprofile.json

The awsprofile.json file tells Nar which AWS CLI profile to use for deployments.

Location: {vertical}/nnet/awsprofile.json


Example

To use a specific profile:

{
"iamAwsProfile": "myprofile"
}

To use the default profile:

{
"iamAwsProfile": "default"
}

Fields

FieldDescription
iamAwsProfileThe name of the AWS CLI profile from ~/.aws/credentials that Nar should use.

When to Use

If you have multiple AWS accounts or profiles configured in ~/.aws/credentials and want Nar to use a specific one instead of default, set it here.

See AWS Setup for how to configure multiple AWS profiles.