Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deadline): change dependency when configuring repository clients … #626

Merged
merged 1 commit into from
Nov 5, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/aws-rfdk/lib/deadline/lib/repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@ export class Repository extends Construct implements IRepository {

// Add an explicit dependency on the Repository. This ensures that deployments of the Repository construct precede
// deployments of the client and the repository is fully setup.
props.containers.taskDefinition.node.addDependency(this);
props.containers.taskDefinition.node.addDependency(this.installerGroup);

// Configure a named volume in the task-definition that points to the container host's mount-point of the repository
// file-system
Expand Down Expand Up @@ -875,7 +875,7 @@ export class Repository extends Construct implements IRepository {
public configureClientInstance(props: InstanceDirectConnectProps): void {
// Add an explicit dependency on the Repository. This ensures that deployments of the Repository construct precede
// deployments of the client and the repository is fully setup.
props.host.node.addDependency(this);
props.host.node.addDependency(this.installerGroup);

this.setupDirectConnect(props.host, props.mountPoint);

Expand Down