Skip to content
This repository was archived by the owner on Feb 5, 2024. It is now read-only.
This repository was archived by the owner on Feb 5, 2024. It is now read-only.

Docs: Research aws-vault usage with instructions for MFA for IAM roles stuff. #38

Open
@ryan-roemer

Description

@ryan-roemer

Things like:

$ STAGE=sandbox aws-vault exec <superadmin-user> -- yarn tf:service:apply

Will hit errors like:

14 errors occurred:
	* module.serverless_vpc.aws_iam_policy.developer: 1 error occurred:
	* aws_iam_policy.developer: Error creating IAM policy tf-simple-reference-sandbox-developer-vpc: InvalidClientTokenId: The security token included in the request is invalid
	status code: 403, request id: 2ba766b9-356d-41cb-bc8e-fe5445760c6e

... similar stuff ...

If they are creating/deleting IAM roles from normal aws-vault usage.--no-session gets around this, but underlying issues:

Task

  • Come up with way for MFA to work as normal.
  • Document how to apply this for the IAM (or all) commands

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