Questions tagged [aws-cdk]
The AWS CDK is an infrastructure modeling framework that allows you to define your cloud resources using an imperative programming interface.
aws-cdk
3,818
questions
0
votes
0
answers
8
views
Adding security groups on inbound rules of RDSproxy through AWS cdk
Hello StackOverflow people,
I want to add full inbound traffic within my VPC so that any sagemaker users in my team can access my RDSproxy.I am using a postgres database with tcp 5432. In the CDK, I ...
0
votes
0
answers
5
views
AWS cdk gets stuck when deploying AWS:ECS:Service
I'm trying to deploy a frontend app. Whenever I try to deploy it gets stuck. It gets stuck when creating the ECS service. I searched online it says something is missing in the ecs service ...
0
votes
0
answers
15
views
Lambda function deployed through CDK is unable to find the handler
Pretty much sums up the title;
I'm new to CDK, and I've tried to attach a simple handler function to a lambda stack, and create a GET route, all using AWS CDK. I also use Projen to make my life easier....
0
votes
1
answer
20
views
cdk: use aws_iam.ArnPrincipal to grant repository
I want to enable (cross-account) access to a repository.
But my statement seems not to have any effect.
repository.grant_pull(aws_iam.ArnPrincipal('arn:aws:iam::123456789:role/technical-role'))
I ...
0
votes
1
answer
13
views
Unhandled exception. Amazon.JSII.Runtime.JsiiError: Child process exited unexpectedly
I'm trying to walk through the CDK sample tutorial and getting an error, please advice.
steps:
cdk init app --language csharp
dotnet build src
cdk synth or cdk list
Unhandled exception. Amazon.JSII....
1
vote
1
answer
22
views
AWS CDK stopped working with AWS SSO leading to: Need to perform AWS calls for account [Account ID], but no credentials have been configured
CDK stopped working, it used to work fine, my coworker is able to locally deploy easily, we matched our configs, not working for me, resulting in:
Need to perform AWS calls for account [Account ID], ...
0
votes
0
answers
12
views
How do I resolve a Hosted Zone from a CfnParameter value?
I am working on a CDK script that is executed as a part of a Copilot application as an addon. The overall application is configured with a root url that is setup as a Hosted Zone in the same aws ...
0
votes
0
answers
58
views
+50
Couldn't find valid bootstrap(s): [/var/task/bootstrap /opt/bootstrap]
I am attempting to deploy an aws lambda function written in golang. However i get the following error:
Couldn't find valid bootstrap(s): [/var/task/bootstrap /opt/bootstrap]
IntradaySchedulerLfn ...
1
vote
0
answers
20
views
AWS SAM build command fails when used with AWS CDK stack (cross-compiled)
I have a simple Go AWS lambda function defined using the AWS CDK. I'm developing on an amd64 mac, but deploying an arm64 lambda. CDK commands all work as expected, and the stack correctly builds the ...
0
votes
0
answers
11
views
AWS CDK Setup cognito + lambda - Forbidden
I'm attempting to set a simple "Hello Word" example where a user can access a lambda endpoint only after authenticating with Cognito via social login.
I have all the code which deploys ...
0
votes
0
answers
18
views
How can I use "SchemaName.TableName" partition key in AWS DMS to migrate data to an Amazon Kinesis data stream?
I'm trying to set up DMS to push data to kinesis stream, with partition keys based on the schema and table name. The intent is to get all cdc events for a given table hitting a single shard, to better ...
0
votes
1
answer
44
views
Github Actions to only apply the review position for specific jobs in a workflow
I am new to GitHub actions. I use it to deploy to an AWS account, a lambda application committed to a GitHub repository. Currently, I am using this workflow below so that only a pull request that is ...
0
votes
0
answers
10
views
Cognito details not being passed to Lambda through AppSync
I'm creating an app that utilises Lambda that is called with AppSync (both setup within aws_cdk). In the Lambda's I need to use the logged in user (done via cognito) details within it to retrieve data ...
0
votes
1
answer
30
views
Difference between aws-cdk and aws-cdk-lib packages
In the package.json of my application I see two different packages named aws-cdk and aws-cdk-lib. What is the difference between both of them?
-4
votes
0
answers
46
views
Disadvantages of Terraform CDK compared to AWS CDK [closed]
Are there any specific disadvantages with Terraform CDK compared to AWS CDK?