Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

Commit

Permalink
fix: Add parent relationship to ApiServices
Browse files Browse the repository at this point in the history
  • Loading branch information
simenandre committed Jan 21, 2021
1 parent 1064b61 commit a2398aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wordpress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const envPrefix: Record<WordpressArgs['preset'], string> = {
export class Wordpress extends pulumi.ComponentResource {
readonly apiServices: ApiServices;
readonly gcrDocker: GCRDocker;

readonly service: CloudRun;
readonly database: MySQLComponent;

Expand All @@ -65,7 +65,7 @@ export class Wordpress extends pulumi.ComponentResource {
preset = 'bedrock',
} = args;

this.apiServices = new ApiServices(name, {});
this.apiServices = new ApiServices(name, {}, { parent: this });

this.gcrDocker = new GCRDocker(
name,
Expand Down

0 comments on commit a2398aa

Please sign in to comment.