AWS examples in docs/readme are wrong/dont work
See original GitHub issueIf you use this guide, you get:
⨯ Unable to compile TypeScript:
main.ts(3,23): error TS2305: Module '"./.gen/providers/aws"' has no exported member 'Instance'.
And if you use the example in the typescript readme of this repo, you get the same but with
'"./.gen/providers/aws"' has no exported member named 'EC2'. Did you mean 'ec2'
Thats after adding the AWS terraformProviders
and running cdktf get
, and then cdktf deploy
.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Troubleshooting AWS CodeBuild
Use the information in this topic to help you identify, diagnose, and address issues. To learn how to log and monitor CodeBuild builds...
Read more >Integrating ReadMe with Amazon API Gateway to Keep Your ...
The example in this post uses Python 3 and the AWS Serverless Application Model (AWS SAM) to deploy private APIs with custom domain...
Read more >Bootstrapping - AWS Cloud Development Kit (AWS CDK) v2
Use the AWS CDK Toolkit's cdk bootstrap command. This is the simplest method and works well if you have only a few environments...
Read more >aws-cdk/pipelines module - AWS Documentation - Amazon.com
The README for the original API, as well as a migration guide, ... The following example creates a CodePipeline that deploys an application...
Read more >Best practices for working with AWS Lambda functions
This saves cost by reducing function run time. To avoid potential data leaks across invocations, don't use the execution environment to store user...
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
Looks like we can close this 👍
Thanks, this worked for me!