CREATE_FAILED when running "cdk deploy"
See original GitHub issueHi, I am new to CDK and considering using it. I am trying to get the AppSyncGraphQLDynamoDB example working. When I run cdk deploy
I get the following error:
0/12 | 08:47:22 | CREATE_IN_PROGRESS | AWS::IAM::Role | ItemsDynamoDBRole (ItemsDynamoDBRole7D2E3F6D)
0/12 | 08:47:22 | CREATE_IN_PROGRESS | AWS::IAM::Role | ItemsDynamoDBRole (ItemsDynamoDBRole7D2E3F6D) Resource creation Initiated
0/12 | 08:47:22 | CREATE_IN_PROGRESS | AWS::DynamoDB::Table | ItemsTable (ItemsTable5AAC2C46) Resource creation Initiated
1/12 | 08:47:22 | CREATE_FAILED | AWS::IAM::Role | ItemsDynamoDBRole (ItemsDynamoDBRole7D2E3F6D) ARN arn:aws:iam::aws:policy/arn:aws:iam::aws:policy/AmazonDynamoDBFullAccess is not valid. (Service: AmazonIdentityManagement; Status Code: 400; Error Code: InvalidInput; Request ID: fda7a95a-aaca-11e9-8b34-71c203c1eb46)
new Role (/home/ec2-user/environment/kloudkrypt/node_modules/@aws-cdk/aws-iam/lib/role.js:30:22)
\_ new AppSyncCdkStack (/home/ec2-user/environment/kloudkrypt/index.js:50:32)
\_ Object.<anonymous> (/home/ec2-user/environment/kloudkrypt/index.js:130:1)
\_ Module._compile (module.js:653:30)
\_ Object.Module._extensions..js (module.js:664:10)
\_ Module.load (module.js:566:32)
\_ tryModuleLoad (module.js:506:12)
\_ Function.Module._load (module.js:498:3)
\_ Function.Module.runMain (module.js:694:10)
\_ startup (bootstrap_node.js:204:16)
\_ bootstrap_node.js:625:3
Any suggestions?
Thanks, -Derek
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Troubleshooting common AWS CDK issues
When deploying my AWS CDK stack, I receive a NoSuchBucket error ... npx aws-cdk runs the local version of the AWS CDK Toolkit...
Read more >Create_Failed S3BatchProcessor, AWS Lambda
I am running cdk deploy in my textract pipline folder for large document processing. However, when i run this porgram I get this...
Read more >"Already exists in stack" error when attempting to re-deploy a ...
I created a service a few weeks ago that's been happily running on Lambda. Now, however, when I try to re-deploy it, I...
Read more >CDK deploy not detecting credentials when stack ... - GitHub
I followed the CDK Python workshop as far as adding a Lambda function ... so the toolkit stack must be deployed to the...
Read more >CloudFormation stack CREATE_FAILED because of "Internal ...
I get an error while running bb cdk deploy <ECSServiceStackName> which says: Received response status [FAILED] from custom resource.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks Joseph. I’ll take a look at your suggestion.
Best, Derek
It looks like the initial bug discovered here was resolved in #86, and the second bug is encapsulated under #78.
I am going to close this issue for now as resolved. Feel free to re-open if I am incorrect.
😸