aws-samples/cdk-keycloak

Customizing FargateTaskDefinition - cpu and memory settings

wiedsche opened this issue · 0 comments

It would be useful (at least for development environments) to customize the FargateTaskDefinition, especially CPU and memoryLimit. Currently this is fixed to cpu: 4096 and memoryLimitMiB: 8192.

Is it already possible to customize this with CDK after definition with cdk-keycloak? Or must there be a code change in cdk-keycloak lib?

It seems that keycloakContainerService that contains the TaskDefiniton is not accessible through the object i've created with:

const keycloak : kc.KeyCloak = new kc.KeyCloak(this, 'KeyCloak', { .. });

At least I don't know how to reference it, to modify its properties.