-
Notifications
You must be signed in to change notification settings - Fork 27
Will this run with any language or just typescript? #31
Comments
hi @mrpackethead Did you able to get this working? I'm using typescript in my cdk app. I executed cdk synth and the output was successful. Then I runned cdk deploy --all and got this error:
Account XXXXXXXXX already have the permissions cdk-readOnlyRole and cdk-writeRole, with the trusted account YYYYYYYYY. My cdk.json is something like this:
I'm struggled for two days with this. |
I gave up on it.. and solved the problem in a differnet way. However i had similar issues with my 'otherway' as well. The fix for that was that aws-sdk, ( which was installed with aws-cdk ) had issues with the dealing with credentials. Upgrading sdk fixed the problem. I can't help but thing, that perhaps the problem i had was not this module, but a problem with sdk. |
@mrpackethead @higorcoliveira can you paste the verbose logs? ( |
Sorry for the late response @corymhall, I had to dig in another solution because this problem was blocking my work. I managed to get the deploy working in my local machine, just adjusted the aws-cdk version and the cdk libs to the same one (in this case, I'm using 1.106.1). However, in my CI pipeline the problem persists. I put -v for verbose and the error does not make sense, it's something relative to a missing region. I already set the region in my pipeline's environment variable (AWS_DEFAULT_REGION). This is the error:
|
@higorcoliveira had same problem: But help specify region in
AND, what is important, file |
🎉 This issue has been resolved in version 1.4.0 |
It seems it shoud'nt but so far i'm failing miserably to get it to work.
The text was updated successfully, but these errors were encountered: