@pulumi/harness 0.5.4 → 0.5.5

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.
@@ -67,6 +67,7 @@ import * as outputs from "../types/output";
67
67
  * repositoryConnector: test.id,
68
68
  * },
69
69
  * ],
70
+ * variableSets: [testHarnessPlatformInfraVariableSet.id],
70
71
  * });
71
72
  * ```
72
73
  *
@@ -162,6 +163,10 @@ export declare class Workspace extends pulumi.CustomResource {
162
163
  readonly tags: pulumi.Output<string[] | undefined>;
163
164
  readonly terraformVariableFiles: pulumi.Output<outputs.platform.WorkspaceTerraformVariableFile[] | undefined>;
164
165
  readonly terraformVariables: pulumi.Output<outputs.platform.WorkspaceTerraformVariable[] | undefined>;
166
+ /**
167
+ * Variable set identifiers. Currently support only one variable set.
168
+ */
169
+ readonly variableSets: pulumi.Output<string[] | undefined>;
165
170
  /**
166
171
  * Create a Workspace resource with the given unique name, arguments, and options.
167
172
  *
@@ -245,6 +250,10 @@ export interface WorkspaceState {
245
250
  tags?: pulumi.Input<pulumi.Input<string>[]>;
246
251
  terraformVariableFiles?: pulumi.Input<pulumi.Input<inputs.platform.WorkspaceTerraformVariableFile>[]>;
247
252
  terraformVariables?: pulumi.Input<pulumi.Input<inputs.platform.WorkspaceTerraformVariable>[]>;
253
+ /**
254
+ * Variable set identifiers. Currently support only one variable set.
255
+ */
256
+ variableSets?: pulumi.Input<pulumi.Input<string>[]>;
248
257
  }
249
258
  /**
250
259
  * The set of arguments for constructing a Workspace resource.
@@ -320,4 +329,8 @@ export interface WorkspaceArgs {
320
329
  tags?: pulumi.Input<pulumi.Input<string>[]>;
321
330
  terraformVariableFiles?: pulumi.Input<pulumi.Input<inputs.platform.WorkspaceTerraformVariableFile>[]>;
322
331
  terraformVariables?: pulumi.Input<pulumi.Input<inputs.platform.WorkspaceTerraformVariable>[]>;
332
+ /**
333
+ * Variable set identifiers. Currently support only one variable set.
334
+ */
335
+ variableSets?: pulumi.Input<pulumi.Input<string>[]>;
323
336
  }
@@ -71,6 +71,7 @@ const utilities = require("../utilities");
71
71
  * repositoryConnector: test.id,
72
72
  * },
73
73
  * ],
74
+ * variableSets: [testHarnessPlatformInfraVariableSet.id],
74
75
  * });
75
76
  * ```
76
77
  *
@@ -128,6 +129,7 @@ class Workspace extends pulumi.CustomResource {
128
129
  resourceInputs["tags"] = state ? state.tags : undefined;
129
130
  resourceInputs["terraformVariableFiles"] = state ? state.terraformVariableFiles : undefined;
130
131
  resourceInputs["terraformVariables"] = state ? state.terraformVariables : undefined;
132
+ resourceInputs["variableSets"] = state ? state.variableSets : undefined;
131
133
  }
132
134
  else {
133
135
  const args = argsOrState;
@@ -181,6 +183,7 @@ class Workspace extends pulumi.CustomResource {
181
183
  resourceInputs["tags"] = args ? args.tags : undefined;
182
184
  resourceInputs["terraformVariableFiles"] = args ? args.terraformVariableFiles : undefined;
183
185
  resourceInputs["terraformVariables"] = args ? args.terraformVariables : undefined;
186
+ resourceInputs["variableSets"] = args ? args.variableSets : undefined;
184
187
  }
185
188
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
186
189
  super(Workspace.__pulumiType, name, resourceInputs, opts);
@@ -1 +1 @@
1
- {"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../platform/workspace.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0EG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,CAAC;IAKD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CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;SACzE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AA/LL,8BAgMC;AAlLG,gBAAgB;AACO,sBAAY,GAAG,sCAAsC,CAAC"}
package/types/input.d.ts CHANGED
@@ -2227,19 +2227,51 @@ export declare namespace platform {
2227
2227
  workloadPoolId: pulumi.Input<string>;
2228
2228
  }
2229
2229
  interface ConnectorJdbcCredentials {
2230
+ /**
2231
+ * Authentication types for JDBC connector
2232
+ */
2233
+ authType?: pulumi.Input<string>;
2230
2234
  /**
2231
2235
  * The reference to the Harness secret containing the password to use for the database server. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
2232
2236
  */
2233
- passwordRef: pulumi.Input<string>;
2237
+ passwordRef?: pulumi.Input<string>;
2238
+ /**
2239
+ * Authenticate using service account.
2240
+ */
2241
+ serviceAccount?: pulumi.Input<inputs.platform.ConnectorJdbcCredentialsServiceAccount>;
2234
2242
  /**
2235
2243
  * The username to use for the database server.
2236
2244
  */
2237
2245
  username?: pulumi.Input<string>;
2246
+ /**
2247
+ * Authenticate using username password.
2248
+ */
2249
+ usernamePassword?: pulumi.Input<inputs.platform.ConnectorJdbcCredentialsUsernamePassword>;
2238
2250
  /**
2239
2251
  * The reference to the Harness secret containing the username to use for the database server. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
2240
2252
  */
2241
2253
  usernameRef?: pulumi.Input<string>;
2242
2254
  }
2255
+ interface ConnectorJdbcCredentialsServiceAccount {
2256
+ /**
2257
+ * Reference to a secret containing the token to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
2258
+ */
2259
+ tokenRef: pulumi.Input<string>;
2260
+ }
2261
+ interface ConnectorJdbcCredentialsUsernamePassword {
2262
+ /**
2263
+ * Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
2264
+ */
2265
+ passwordRef: pulumi.Input<string>;
2266
+ /**
2267
+ * Username to use for authentication.
2268
+ */
2269
+ username?: pulumi.Input<string>;
2270
+ /**
2271
+ * Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
2272
+ */
2273
+ usernameRef?: pulumi.Input<string>;
2274
+ }
2243
2275
  interface ConnectorPdcHost {
2244
2276
  /**
2245
2277
  * Host attributes with values. e.g. type, region, name, ip, etc.
@@ -2978,6 +3010,134 @@ export declare namespace platform {
2978
3010
  */
2979
3011
  userName: pulumi.Input<string>;
2980
3012
  }
3013
+ interface GetInfraVariableSetConnector {
3014
+ /**
3015
+ * Unique identifier of the connector.
3016
+ */
3017
+ connectorRef: string;
3018
+ /**
3019
+ * Type indicates the type of the connector. Currently we support aws, azure, gcp.
3020
+ */
3021
+ type: string;
3022
+ }
3023
+ interface GetInfraVariableSetConnectorArgs {
3024
+ /**
3025
+ * Unique identifier of the connector.
3026
+ */
3027
+ connectorRef: pulumi.Input<string>;
3028
+ /**
3029
+ * Type indicates the type of the connector. Currently we support aws, azure, gcp.
3030
+ */
3031
+ type: pulumi.Input<string>;
3032
+ }
3033
+ interface GetInfraVariableSetEnvironmentVariable {
3034
+ /**
3035
+ * Key is the identifier for the variable`
3036
+ */
3037
+ key: string;
3038
+ /**
3039
+ * value is the value of the variable
3040
+ */
3041
+ value: string;
3042
+ /**
3043
+ * Value type indicates the value type of the variable, text or secret
3044
+ */
3045
+ valueType: string;
3046
+ }
3047
+ interface GetInfraVariableSetEnvironmentVariableArgs {
3048
+ /**
3049
+ * Key is the identifier for the variable`
3050
+ */
3051
+ key: pulumi.Input<string>;
3052
+ /**
3053
+ * value is the value of the variable
3054
+ */
3055
+ value: pulumi.Input<string>;
3056
+ /**
3057
+ * Value type indicates the value type of the variable, text or secret
3058
+ */
3059
+ valueType: pulumi.Input<string>;
3060
+ }
3061
+ interface GetInfraVariableSetTerraformVariable {
3062
+ /**
3063
+ * Key is the identifier for the variable`
3064
+ */
3065
+ key: string;
3066
+ /**
3067
+ * value is the value of the variable
3068
+ */
3069
+ value: string;
3070
+ /**
3071
+ * Value type indicates the value type of the variable, text or secret
3072
+ */
3073
+ valueType: string;
3074
+ }
3075
+ interface GetInfraVariableSetTerraformVariableArgs {
3076
+ /**
3077
+ * Key is the identifier for the variable`
3078
+ */
3079
+ key: pulumi.Input<string>;
3080
+ /**
3081
+ * value is the value of the variable
3082
+ */
3083
+ value: pulumi.Input<string>;
3084
+ /**
3085
+ * Value type indicates the value type of the variable, text or secret
3086
+ */
3087
+ valueType: pulumi.Input<string>;
3088
+ }
3089
+ interface GetInfraVariableSetTerraformVariableFile {
3090
+ /**
3091
+ * Repository is the name of the repository to fetch the code from.
3092
+ */
3093
+ repository: string;
3094
+ /**
3095
+ * Repository branch is the name of the branch to fetch the variables from. This cannot be set if repository commit or sha is set
3096
+ */
3097
+ repositoryBranch?: string;
3098
+ /**
3099
+ * Repository commit is tag to fetch the variables from. This cannot be set if repository branch or sha is set.
3100
+ */
3101
+ repositoryCommit?: string;
3102
+ /**
3103
+ * Repository connector is the reference to the connector used to fetch the variables.
3104
+ */
3105
+ repositoryConnector: string;
3106
+ /**
3107
+ * Repository path is the path in which the variables reside.
3108
+ */
3109
+ repositoryPath?: string;
3110
+ /**
3111
+ * Repository commit is sha to fetch the variables from. This cannot be set if repository branch or commit is set.
3112
+ */
3113
+ repositorySha?: string;
3114
+ }
3115
+ interface GetInfraVariableSetTerraformVariableFileArgs {
3116
+ /**
3117
+ * Repository is the name of the repository to fetch the code from.
3118
+ */
3119
+ repository: pulumi.Input<string>;
3120
+ /**
3121
+ * Repository branch is the name of the branch to fetch the variables from. This cannot be set if repository commit or sha is set
3122
+ */
3123
+ repositoryBranch?: pulumi.Input<string>;
3124
+ /**
3125
+ * Repository commit is tag to fetch the variables from. This cannot be set if repository branch or sha is set.
3126
+ */
3127
+ repositoryCommit?: pulumi.Input<string>;
3128
+ /**
3129
+ * Repository connector is the reference to the connector used to fetch the variables.
3130
+ */
3131
+ repositoryConnector: pulumi.Input<string>;
3132
+ /**
3133
+ * Repository path is the path in which the variables reside.
3134
+ */
3135
+ repositoryPath?: pulumi.Input<string>;
3136
+ /**
3137
+ * Repository commit is sha to fetch the variables from. This cannot be set if repository branch or commit is set.
3138
+ */
3139
+ repositorySha?: pulumi.Input<string>;
3140
+ }
2981
3141
  interface GetInfrastructureGitDetails {
2982
3142
  /**
2983
3143
  * Name of the branch.
@@ -5202,6 +5362,70 @@ export declare namespace platform {
5202
5362
  */
5203
5363
  usernameRef?: pulumi.Input<string>;
5204
5364
  }
5365
+ interface InfraVariableSetConnector {
5366
+ /**
5367
+ * Unique identifier of the connector.
5368
+ */
5369
+ connectorRef: pulumi.Input<string>;
5370
+ /**
5371
+ * Type indicates the type of the connector. Currently we support aws, azure, gcp.
5372
+ */
5373
+ type: pulumi.Input<string>;
5374
+ }
5375
+ interface InfraVariableSetEnvironmentVariable {
5376
+ /**
5377
+ * Key is the identifier for the variable. Must be unique within the variable set.
5378
+ */
5379
+ key: pulumi.Input<string>;
5380
+ /**
5381
+ * Value is the value of the variable. For string value types this field should contain the value of the variable. For secret value types this should contain a reference to a valid harness secret.
5382
+ */
5383
+ value: pulumi.Input<string>;
5384
+ /**
5385
+ * Value type indicates the value type of the variable. Currently we support string and secret.
5386
+ */
5387
+ valueType: pulumi.Input<string>;
5388
+ }
5389
+ interface InfraVariableSetTerraformVariable {
5390
+ /**
5391
+ * Key is the identifier for the variable. Must be unique within the variable set.
5392
+ */
5393
+ key: pulumi.Input<string>;
5394
+ /**
5395
+ * Value is the value of the variable. For string value types this field should contain the value of the variable. For secret value types this should contain a reference to a valid harness secret.
5396
+ */
5397
+ value: pulumi.Input<string>;
5398
+ /**
5399
+ * Value type indicates the value type of the variable. Currently we support string and secret.
5400
+ */
5401
+ valueType: pulumi.Input<string>;
5402
+ }
5403
+ interface InfraVariableSetTerraformVariableFile {
5404
+ /**
5405
+ * Repository is the name of the repository to fetch the code from.
5406
+ */
5407
+ repository: pulumi.Input<string>;
5408
+ /**
5409
+ * Repository branch is the name of the branch to fetch the variables from. This cannot be set if repository commit or sha is set
5410
+ */
5411
+ repositoryBranch?: pulumi.Input<string>;
5412
+ /**
5413
+ * Repository commit is tag to fetch the variables from. This cannot be set if repository branch or sha is set.
5414
+ */
5415
+ repositoryCommit?: pulumi.Input<string>;
5416
+ /**
5417
+ * Repository connector is the reference to the connector used to fetch the variables.
5418
+ */
5419
+ repositoryConnector: pulumi.Input<string>;
5420
+ /**
5421
+ * Repository path is the path in which the variables reside.
5422
+ */
5423
+ repositoryPath?: pulumi.Input<string>;
5424
+ /**
5425
+ * Repository commit is sha to fetch the variables from. This cannot be set if repository branch or commit is set.
5426
+ */
5427
+ repositorySha?: pulumi.Input<string>;
5428
+ }
5205
5429
  interface InfrastructureGitDetails {
5206
5430
  /**
5207
5431
  * Name of the default branch (this checks out a new branch titled by branch_name).
package/types/output.d.ts CHANGED
@@ -1986,19 +1986,51 @@ export declare namespace platform {
1986
1986
  workloadPoolId: string;
1987
1987
  }
1988
1988
  interface ConnectorJdbcCredentials {
1989
+ /**
1990
+ * Authentication types for JDBC connector
1991
+ */
1992
+ authType?: string;
1989
1993
  /**
1990
1994
  * The reference to the Harness secret containing the password to use for the database server. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
1991
1995
  */
1992
- passwordRef: string;
1996
+ passwordRef?: string;
1997
+ /**
1998
+ * Authenticate using service account.
1999
+ */
2000
+ serviceAccount?: outputs.platform.ConnectorJdbcCredentialsServiceAccount;
1993
2001
  /**
1994
2002
  * The username to use for the database server.
1995
2003
  */
1996
2004
  username?: string;
2005
+ /**
2006
+ * Authenticate using username password.
2007
+ */
2008
+ usernamePassword?: outputs.platform.ConnectorJdbcCredentialsUsernamePassword;
1997
2009
  /**
1998
2010
  * The reference to the Harness secret containing the username to use for the database server. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
1999
2011
  */
2000
2012
  usernameRef?: string;
2001
2013
  }
2014
+ interface ConnectorJdbcCredentialsServiceAccount {
2015
+ /**
2016
+ * Reference to a secret containing the token to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
2017
+ */
2018
+ tokenRef: string;
2019
+ }
2020
+ interface ConnectorJdbcCredentialsUsernamePassword {
2021
+ /**
2022
+ * Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
2023
+ */
2024
+ passwordRef: string;
2025
+ /**
2026
+ * Username to use for authentication.
2027
+ */
2028
+ username?: string;
2029
+ /**
2030
+ * Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
2031
+ */
2032
+ usernameRef?: string;
2033
+ }
2002
2034
  interface ConnectorPdcHost {
2003
2035
  /**
2004
2036
  * Host attributes with values. e.g. type, region, name, ip, etc.
@@ -2841,19 +2873,51 @@ export declare namespace platform {
2841
2873
  workloadPoolId: string;
2842
2874
  }
2843
2875
  interface GetConnectorJdbcCredential {
2876
+ /**
2877
+ * Authentication types for JDBC connector
2878
+ */
2879
+ authType: string;
2844
2880
  /**
2845
2881
  * The reference to the Harness secret containing the password to use for the database server. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
2846
2882
  */
2847
2883
  passwordRef: string;
2884
+ /**
2885
+ * Authenticate using service account.
2886
+ */
2887
+ serviceAccounts: outputs.platform.GetConnectorJdbcCredentialServiceAccount[];
2848
2888
  /**
2849
2889
  * The username to use for the database server.
2850
2890
  */
2851
2891
  username: string;
2892
+ /**
2893
+ * Authenticate using username password.
2894
+ */
2895
+ usernamePasswords: outputs.platform.GetConnectorJdbcCredentialUsernamePassword[];
2852
2896
  /**
2853
2897
  * The reference to the Harness secret containing the username to use for the database server. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
2854
2898
  */
2855
2899
  usernameRef: string;
2856
2900
  }
2901
+ interface GetConnectorJdbcCredentialServiceAccount {
2902
+ /**
2903
+ * Reference to a secret containing the token to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
2904
+ */
2905
+ tokenRef: string;
2906
+ }
2907
+ interface GetConnectorJdbcCredentialUsernamePassword {
2908
+ /**
2909
+ * Reference to a secret containing the password to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
2910
+ */
2911
+ passwordRef: string;
2912
+ /**
2913
+ * Username to use for authentication.
2914
+ */
2915
+ username: string;
2916
+ /**
2917
+ * Reference to a secret containing the username to use for authentication. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
2918
+ */
2919
+ usernameRef: string;
2920
+ }
2857
2921
  interface GetConnectorPdcHost {
2858
2922
  /**
2859
2923
  * Host attributes with values. e.g. type, region, name, ip, etc.
@@ -4142,6 +4206,70 @@ export declare namespace platform {
4142
4206
  */
4143
4207
  usernameRef: string;
4144
4208
  }
4209
+ interface GetInfraVariableSetConnector {
4210
+ /**
4211
+ * Unique identifier of the connector.
4212
+ */
4213
+ connectorRef: string;
4214
+ /**
4215
+ * Type indicates the type of the connector. Currently we support aws, azure, gcp.
4216
+ */
4217
+ type: string;
4218
+ }
4219
+ interface GetInfraVariableSetEnvironmentVariable {
4220
+ /**
4221
+ * Key is the identifier for the variable`
4222
+ */
4223
+ key: string;
4224
+ /**
4225
+ * value is the value of the variable
4226
+ */
4227
+ value: string;
4228
+ /**
4229
+ * Value type indicates the value type of the variable, text or secret
4230
+ */
4231
+ valueType: string;
4232
+ }
4233
+ interface GetInfraVariableSetTerraformVariable {
4234
+ /**
4235
+ * Key is the identifier for the variable`
4236
+ */
4237
+ key: string;
4238
+ /**
4239
+ * value is the value of the variable
4240
+ */
4241
+ value: string;
4242
+ /**
4243
+ * Value type indicates the value type of the variable, text or secret
4244
+ */
4245
+ valueType: string;
4246
+ }
4247
+ interface GetInfraVariableSetTerraformVariableFile {
4248
+ /**
4249
+ * Repository is the name of the repository to fetch the code from.
4250
+ */
4251
+ repository: string;
4252
+ /**
4253
+ * Repository branch is the name of the branch to fetch the variables from. This cannot be set if repository commit or sha is set
4254
+ */
4255
+ repositoryBranch?: string;
4256
+ /**
4257
+ * Repository commit is tag to fetch the variables from. This cannot be set if repository branch or sha is set.
4258
+ */
4259
+ repositoryCommit?: string;
4260
+ /**
4261
+ * Repository connector is the reference to the connector used to fetch the variables.
4262
+ */
4263
+ repositoryConnector: string;
4264
+ /**
4265
+ * Repository path is the path in which the variables reside.
4266
+ */
4267
+ repositoryPath?: string;
4268
+ /**
4269
+ * Repository commit is sha to fetch the variables from. This cannot be set if repository branch or commit is set.
4270
+ */
4271
+ repositorySha?: string;
4272
+ }
4145
4273
  interface GetInfrastructureGitDetails {
4146
4274
  /**
4147
4275
  * Name of the branch.
@@ -6732,6 +6860,70 @@ export declare namespace platform {
6732
6860
  */
6733
6861
  usernameRef?: string;
6734
6862
  }
6863
+ interface InfraVariableSetConnector {
6864
+ /**
6865
+ * Unique identifier of the connector.
6866
+ */
6867
+ connectorRef: string;
6868
+ /**
6869
+ * Type indicates the type of the connector. Currently we support aws, azure, gcp.
6870
+ */
6871
+ type: string;
6872
+ }
6873
+ interface InfraVariableSetEnvironmentVariable {
6874
+ /**
6875
+ * Key is the identifier for the variable. Must be unique within the variable set.
6876
+ */
6877
+ key: string;
6878
+ /**
6879
+ * Value is the value of the variable. For string value types this field should contain the value of the variable. For secret value types this should contain a reference to a valid harness secret.
6880
+ */
6881
+ value: string;
6882
+ /**
6883
+ * Value type indicates the value type of the variable. Currently we support string and secret.
6884
+ */
6885
+ valueType: string;
6886
+ }
6887
+ interface InfraVariableSetTerraformVariable {
6888
+ /**
6889
+ * Key is the identifier for the variable. Must be unique within the variable set.
6890
+ */
6891
+ key: string;
6892
+ /**
6893
+ * Value is the value of the variable. For string value types this field should contain the value of the variable. For secret value types this should contain a reference to a valid harness secret.
6894
+ */
6895
+ value: string;
6896
+ /**
6897
+ * Value type indicates the value type of the variable. Currently we support string and secret.
6898
+ */
6899
+ valueType: string;
6900
+ }
6901
+ interface InfraVariableSetTerraformVariableFile {
6902
+ /**
6903
+ * Repository is the name of the repository to fetch the code from.
6904
+ */
6905
+ repository: string;
6906
+ /**
6907
+ * Repository branch is the name of the branch to fetch the variables from. This cannot be set if repository commit or sha is set
6908
+ */
6909
+ repositoryBranch?: string;
6910
+ /**
6911
+ * Repository commit is tag to fetch the variables from. This cannot be set if repository branch or sha is set.
6912
+ */
6913
+ repositoryCommit?: string;
6914
+ /**
6915
+ * Repository connector is the reference to the connector used to fetch the variables.
6916
+ */
6917
+ repositoryConnector: string;
6918
+ /**
6919
+ * Repository path is the path in which the variables reside.
6920
+ */
6921
+ repositoryPath?: string;
6922
+ /**
6923
+ * Repository commit is sha to fetch the variables from. This cannot be set if repository branch or commit is set.
6924
+ */
6925
+ repositorySha?: string;
6926
+ }
6735
6927
  interface InfrastructureGitDetails {
6736
6928
  /**
6737
6929
  * Name of the default branch (this checks out a new branch titled by branch_name).