aws-samples / aws-samples/appsync-with-postgraphile-rds

[Error at /AppSyncWithPostgraphileStack] You are not authorized to perform this operation.

Open
#12 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
PLpgSQL
Stars
49
Forks
13
PR merge metrics
No merged PRs in 30d

Description

I run `npm run deloy-demo` and get this error after 4 successful operations:
`[Error at /AppSyncWithPostgraphileStack] You are not authorized to perform this operation.`
What does this error mean?

➜ appsync-with-postgraphile git:(main) ✗ npm run deploy-demo

> appsync-with-postgraphile-rds@0.1.0 deploy-demo
> node ./scripts/deploy-demo.mjs

> appsync-with-postgraphile-rds@0.1.0 cdk
> cdk "deploy" "-c" "vpcId=vpc-blah" "--parameters" "sgId=sg-blah" "--parameters" "dbProxyArn=arn:aws:rds:us-west-2:blah:db-proxy:prx-blah" "--parameters" "dbProxyName=PgRdsStack-appsync-sample-proxy" "--parameters" "dbProxyEndpoint=pgrdsstack-appsync-sample-proxy.proxy-blah.us-west-2.rds.amazonaws.com" "--parameters" "userName=lambda_runner" "--parameters" "database=forum_demo_with_appsync" "--parameters" "schemas=forum_example" "-O" "output.json"

Bundling asset AppSyncWithPostgraphileStack/resolver/Code/Stage...

cdk.out/bundling-temp-blah/index.js 12.2kb

⚡ Done in 6ms
Bundling asset AppSyncWithPostgraphileStack/providerFn/Code/Stage...

cdk.out/bundling-temp-blah/index.js 16.6kb

⚡ Done in 2ms
current credentials could not be used to assume 'arn:aws:iam::blah:role/cdk-blah-lookup-role-blah-us-west-2', but are for the right account. Proceeding anyway.
Bundling asset AppSyncWithPostgraphileStack/resolver/Code/Stage...

cdk.out/bundling-temp-blah/index.js 12.2kb

⚡ Done in 4ms
Bundling asset AppSyncWithPostgraphileStack/providerFn/Code/Stage...

cdk.out/bundling-temp-blah/index.js 16.6kb

⚡ Done in 2ms
[Error at /AppSyncWithPostgraphileStack] You are not authorized to perform this operation.

Found errors

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.