@crossdelta/infrastructure 0.2.18 → 0.2.20

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.
@@ -9,6 +9,10 @@ export interface DropletServiceResources {
9
9
  /** Private IP for VPC communication */
10
10
  privateIp: pulumi.Output<string>;
11
11
  }
12
+ /**
13
+ * Environment variables that can contain Pulumi secrets.
14
+ */
15
+ export type SecretEnvVars = Record<string, pulumi.Output<string> | string>;
12
16
  export interface BuildDropletServicesOptions {
13
17
  /** Service configs with platform: 'droplet' */
14
18
  serviceConfigs: ServiceConfig[];
@@ -20,6 +24,8 @@ export interface BuildDropletServicesOptions {
20
24
  sshKeyIds?: pulumi.Input<pulumi.Input<string>[]>;
21
25
  /** Registry credentials for private images (optional) */
22
26
  registryCredentials?: pulumi.Output<string>;
27
+ /** Service-specific environment variables (can include secrets) */
28
+ serviceEnvVars?: Record<string, SecretEnvVars>;
23
29
  }
24
30
  /**
25
31
  * Builds Droplet resources for services with platform: 'droplet'.
@@ -3,6 +3,7 @@ import type { Output } from '@pulumi/pulumi';
3
3
  * Gets the image configuration for a given repository.
4
4
  * @param repository - The name of the repository.
5
5
  * @returns The image configuration.
6
+ * @deprecated Use project-specific config helper instead
6
7
  */
7
8
  export declare const getImage: (repository: string, registryCredentials: Output<string>) => {
8
9
  registryType: any;