Forrest Allison
05/09/2022, 8:32 PMCameron Smart
05/09/2022, 8:38 PM[cameron@ThePad bsl]$ DEV_USER=cameron yarn run dev:cdk:deploy
(node:36499) [MODULE_NOT_FOUND] Error: @types/node tried to access events (a peer dependency) but it isn't provided by its ancestors; this makes the require call ambiguous and unsound.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:36499) [MODULE_NOT_FOUND] Error: @types/node tried to access util (a peer dependency) but it isn't provided by its ancestors; this makes the require call ambiguous and unsound.
(node:36499) [MODULE_NOT_FOUND] Error: @types/node tried to access url (a peer dependency) but it isn't provided by its ancestors; this makes the require call ambiguous and unsound.
(node:36499) [MODULE_NOT_FOUND] Error: @types/node tried to access tty. While this module is usually interpreted as a Node builtin, your resolver is running inside a non-Node resolution context where such builtins are ignored. Since tty isn't otherwise declared in @types/node's dependencies, this makes the require call ambiguous and unsound.
(node:36499) [MODULE_NOT_FOUND] Error: @types/node tried to access querystring (a peer dependency) but it isn't provided by its ancestors; this makes the require call ambiguous and unsound.
✨ Synthesis time: 3.76s
Could not assume arn:aws:iam::134071937287:role/cdk-hnb659fds-lookup-role-134071937287-us-west-2, proceeding anyway.
(To get rid of this warning, please upgrade to bootstrap version >= 8)
NOTICES
19836 AWS CDK v1 entering maintenance mode soon
Overview: AWS CDK v1 is entering maintenance mode on June 1, 2022.
Migrate to AWS CDK v2 to continue to get the latest features
and fixes!
Affected versions: framework: 1.*, cli: 1.*
More information at: <https://github.com/aws/aws-cdk/issues/19836>
If you don't want to see a notice anymore, use "cdk acknowledge <id>". For example, "cdk acknowledge 19836".
Need to perform AWS calls for account 134071937287, but no credentials have been configured
Cameron Smart
05/09/2022, 8:39 PMCameron Smart
05/09/2022, 8:40 PMCameron Smart
05/09/2022, 8:45 PMForrest Allison
05/09/2022, 8:46 PMForrest Allison
05/09/2022, 8:46 PMcat ~/.aws/credentials
Forrest Allison
05/09/2022, 8:46 PMForrest Allison
05/09/2022, 8:47 PMForrest Allison
05/09/2022, 8:47 PMForrest Allison
05/09/2022, 8:47 PMForrest Allison
05/09/2022, 8:47 PMCameron Smart
05/09/2022, 8:49 PMCameron Smart
05/09/2022, 9:24 PMCould not assume role in target account using current credentials (which are for account 862989225104) Roles may not be assumed by root accounts. . Please make sure that this role exists in the account. If it doesn't exist, (re)-bootstrap the environment with the right '--trust', using the latest version of the CDK CLI.
Which seems to indicate I should not do this on a root account (which I am).Cameron Smart
05/09/2022, 9:26 PMCameron Smart
05/09/2022, 9:29 PMCameron Smart
05/09/2022, 9:38 PMCould not assume role in target account using current credentials (which are for account 862989225104) User: arn:aws:iam::862989225104:user/cameron is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::134071937287:role/cdk-hnb659fds-deploy-role-134071937287-us-west-2 . Please make sure that this role exists in the account. If it doesn't exist, (re)-bootstrap the environment with the right '--trust', using the latest version of the CDK CLI.
Cameron Smart
05/09/2022, 9:38 PMForrest Allison
05/09/2022, 9:40 PMForrest Allison
05/09/2022, 9:40 PMForrest Allison
05/09/2022, 9:40 PMForrest Allison
05/09/2022, 9:42 PMForrest Allison
05/09/2022, 9:42 PMForrest Allison
05/09/2022, 9:42 PMForrest Allison
05/09/2022, 9:43 PMCameron Smart
05/09/2022, 9:45 PMCameron Smart
05/09/2022, 9:45 PMCameron Smart
05/09/2022, 9:46 PMsts:AssumeRole
Cameron Smart
05/09/2022, 10:03 PM