I tried the plugin but it didn't seem to work for me. What I can see in the log is the following:
CDK toolkit version: 1.63.0 (build 7a68125)
cdk.json: {
"app": "python /app_deploy.py",
"plugin": [
"cdk-assume-role-credential-plugin"
]
}
cdk.context.json: {
"assume-role-credentials:writeIamRoleName": "test",
"assume-role-credentials:readIamRoleName": "test"
}
Loading plug-in: cdk-assume-role-credential-plugin from /home/user/.nvm/versions/node/v12.18.4/lib/node_modules/cdk-assume-role-credential-plugin/lib/index.js
Toolkit stack: CDKToolkit
Setting "CDK_DEFAULT_REGION" environment variable to eu-central-1
Resolving default credentials
Retrieved account ID 582XXXXXXXXXfrom disk cache
Setting "CDK_DEFAULT_ACCOUNT" environment variable to 582XXXXXXXXX
context: {
'assume-role-credentials:writeIamRoleName': 'test',
'assume-role-credentials:readIamRoleName': 'test',
'aws:cdk:enable-path-metadata': true,
'aws:cdk:enable-asset-metadata': true
}
outdir: cdk.out
env: {
CDK_DEFAULT_REGION: 'eu-central-1',
CDK_DEFAULT_ACCOUNT: '582XXXXXXXXX',
CDK_CONTEXT_JSON: '{"assume-role-credentials:writeIamRoleName":"test","assume-role-credentials:readIamRoleName":"test","aws:cdk:enable-path-metadata":true,"aws:cdk:enable-asset-metadata":true}',
CDK_OUTDIR: 'cdk.out',
CDK_CLI_ASM_VERSION: '5.0.0',
CDK_CLI_VERSION: '1.63.0'
I can also paste the full log but I think these are the important bits.
When I deploy I get permission issues. So here my questions: