Skip to content

add option to add region to AWS Profile #160

@igaskin

Description

@igaskin

when running okta-aws-cli with the ---profile and --write-aws-credentials options, the out data does not include a region. This will result in the following error if no region is specified.

a region was not specified. You can run 'aws configure' or choose a profile with a region

The scope of this request is to add an option to include a region to write to the aws profile.

update file writing
https://github.com/okta/okta-aws-cli/blob/master/internal/output/aws_credentials_file.go#L208

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions