Skip to content

Commit

Permalink
Patch Service vpc
Browse files Browse the repository at this point in the history
  • Loading branch information
Lepozepo committed Mar 16, 2023
1 parent d6e7e8a commit e18038d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion constructs/src/Service.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default class Service extends pulumi.ComponentResource {
httpsCertificateArn,
} = props;

const vpc = props.vpc || awsx.ec2.Vpc.getDefault() || new awsx.ec2.Vpc(`${name}-vpc`, {}, { parent: this });
const vpc = props.vpc || new awsx.ec2.Vpc(`${name}-vpc`, {}, { parent: this });
this.vpc = vpc;

const cluster = new awsx.ecs.Cluster(`${name}-cluster`, { vpc }, { parent: this });
Expand Down
4 changes: 2 additions & 2 deletions examples/apolloService/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e18038d

Please sign in to comment.