@pattform/api-kit 3.3.0 → 3.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,6 +21,10 @@ class ContainerComponent extends pulumi.ComponentResource {
21
21
  const imageRefFromConfig = (_c = args.imageDigest) !== null && _c !== void 0 ? _c : componentConfig.get("imageRef");
22
22
  // Create an Artifact Registry repository
23
23
  this.repository = new gcp.artifactregistry.Repository("container-component-" + args.imageName + "-repo-" + args.environment, {
24
+ // Explicit (and on the Cloud Run service below): a capability's
25
+ // provider defaults to the platform project (pattform-management),
26
+ // not the client's.
27
+ project: gcpProject,
24
28
  description: args.environment + " repository for " + args.imageName + " Docker images",
25
29
  format: "DOCKER",
26
30
  location: gcpRegion,
@@ -56,6 +60,7 @@ class ContainerComponent extends pulumi.ComponentResource {
56
60
  const defaultLivenessPath = (_e = args.livenessPath) !== null && _e !== void 0 ? _e : "/actuator/health/liveness";
57
61
  // Create a Cloud Run service for the container image.
58
62
  this.service = new gcp.cloudrunv2.Service("container-component-" + args.imageName + "-service-" + args.environment, {
63
+ project: gcpProject,
59
64
  location: gcpRegion,
60
65
  ingress: "INGRESS_TRAFFIC_ALL",
61
66
  name: args.imageName + "-" + args.environment,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pattform/api-kit",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "description": "Pulumi infra library for building and deploying an API",
5
5
  "author": "Pattform <contact@pattform.io>",
6
6
  "license": "SEE LICENSE IN LICENSE",