Skip to content

Commit

Permalink
updated renderContainerDefinition with props
Browse files Browse the repository at this point in the history
  • Loading branch information
khushail committed Aug 25, 2023
1 parent dc3e002 commit 579cfe2
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,10 @@ abstract class EcsContainerDefinitionBase extends Construct implements IEcsConta
logConfiguration: this.logDriverConfig,
readonlyRootFilesystem: this.readonlyRootFilesystem,
resourceRequirements: this._renderResourceRequirements(),
runtimePlatform: {
cpuArchitecture: this.runtimePlatform?.cpuArchitecture?.toString(),
operatingSystemFamily: this.runtimePlatform?.operatingSystemFamily?.toString(),
},
secrets: this.secrets ? Object.entries(this.secrets).map(([name, secret]) => {
secret.grantRead(this.executionRole);

Expand Down

0 comments on commit 579cfe2

Please sign in to comment.