@pulumi/terraform 5.14.0-alpha.1719519021 → 6.0.0

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.
Files changed (60) hide show
  1. package/index.d.ts +6 -2
  2. package/index.js +21 -16
  3. package/index.js.map +1 -0
  4. package/package.json +12 -10
  5. package/package.json.dev +25 -23
  6. package/provider.d.ts +21 -0
  7. package/provider.js +38 -0
  8. package/provider.js.map +1 -0
  9. package/state/getLocalReference.d.ts +40 -0
  10. package/state/getLocalReference.js +32 -0
  11. package/state/getLocalReference.js.map +1 -0
  12. package/state/getRemoteReference.d.ts +51 -0
  13. package/state/getRemoteReference.js +34 -0
  14. package/state/getRemoteReference.js.map +1 -0
  15. package/state/index.d.ts +6 -15
  16. package/state/index.js +11 -39
  17. package/state/index.js.map +1 -0
  18. package/types/index.d.ts +3 -0
  19. package/types/index.js +11 -0
  20. package/types/index.js.map +1 -0
  21. package/types/input.d.ts +23 -0
  22. package/types/input.js +5 -0
  23. package/types/input.js.map +1 -0
  24. package/types/output.d.ts +2 -0
  25. package/types/output.js +5 -0
  26. package/types/output.js.map +1 -0
  27. package/utilities.d.ts +8 -0
  28. package/utilities.js +101 -0
  29. package/utilities.js.map +1 -0
  30. package/package.json.bak +0 -25
  31. package/state/artifactoryBackendConfig.d.ts +0 -39
  32. package/state/artifactoryBackendConfig.js +0 -15
  33. package/state/azurermBackendConfig.d.ts +0 -85
  34. package/state/azurermBackendConfig.js +0 -15
  35. package/state/consulBackendConfig.d.ts +0 -62
  36. package/state/consulBackendConfig.js +0 -15
  37. package/state/etcdBackendConfig.d.ts +0 -32
  38. package/state/etcdBackendConfig.js +0 -15
  39. package/state/etcdV3BackendConfig.d.ts +0 -47
  40. package/state/etcdV3BackendConfig.js +0 -15
  41. package/state/gcsBackendConfig.d.ts +0 -36
  42. package/state/gcsBackendConfig.js +0 -15
  43. package/state/httpBackendConfig.d.ts +0 -51
  44. package/state/httpBackendConfig.js +0 -3
  45. package/state/localBackendConfig.d.ts +0 -16
  46. package/state/localBackendConfig.js +0 -15
  47. package/state/mantaBackendConfig.d.ts +0 -52
  48. package/state/mantaBackendConfig.js +0 -15
  49. package/state/ossBackendConfig.d.ts +0 -83
  50. package/state/ossBackendConfig.js +0 -15
  51. package/state/pgBackendConfig.d.ts +0 -23
  52. package/state/pgBackendConfig.js +0 -15
  53. package/state/remoteBackendConfig.d.ts +0 -44
  54. package/state/remoteBackendConfig.js +0 -15
  55. package/state/remoteStateReference.d.ts +0 -46
  56. package/state/remoteStateReference.js +0 -43
  57. package/state/s3BackendConfig.d.ts +0 -94
  58. package/state/s3BackendConfig.js +0 -15
  59. package/state/swiftBackendConfig.d.ts +0 -85
  60. package/state/swiftBackendConfig.js +0 -15
@@ -1,52 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * The configuration options for a Terraform Remote State stored in the Manta backend.
4
- */
5
- export interface MantaRemoteStateReferenceArgs {
6
- /**
7
- * A constant describing the name of the Terraform backend, used as the discriminant
8
- * for the union of backend configurations.
9
- */
10
- backendType: "manta";
11
- /**
12
- * The name of the Manta account. Sourced from `SDC_ACCOUNT` or `_ACCOUNT` in the
13
- * environment, if unset.
14
- */
15
- account: pulumi.Input<string>;
16
- /**
17
- * The username of the Manta account with which to authenticate.
18
- */
19
- user?: pulumi.Input<string>;
20
- /**
21
- * The Manta API Endpoint. Sourced from `MANTA_URL` in the environment, if unset.
22
- * Defaults to `https://us-east.manta.joyent.com`.
23
- */
24
- url?: pulumi.Input<string>;
25
- /**
26
- * The private key material corresponding with the SSH key whose fingerprint is
27
- * specified in keyId. Sourced from `SDC_KEY_MATERIAL` or `TRITON_KEY_MATERIAL`
28
- * in the environment, if unset. If no value is specified, the local SSH agent
29
- * is used for signing requests.
30
- */
31
- keyMaterial?: pulumi.Input<string>;
32
- /**
33
- * The fingerprint of the public key matching the key material specified in
34
- * keyMaterial, or in the local SSH agent.
35
- */
36
- keyId: pulumi.Input<string>;
37
- /**
38
- * The path relative to your private storage directory (`/$MANTA_USER/stor`)
39
- * where the state file will be stored.
40
- */
41
- path: pulumi.Input<string>;
42
- /**
43
- * Skip verifying the TLS certificate presented by the Manta endpoint. This can
44
- * be useful for installations which do not have a certificate signed by a trusted
45
- * root CA. Defaults to false.
46
- */
47
- insecureSkipTlsVerify: pulumi.Input<boolean>;
48
- /**
49
- * The Terraform workspace from which to read state.
50
- */
51
- workspace?: pulumi.Input<string>;
52
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- // Copyright 2016-2019, Pulumi Corporation.
3
- //
4
- // Licensed under the Apache License, Version 2.0 (the "License");
5
- // you may not use this file except in compliance with the License.
6
- // You may obtain a copy of the License at
7
- //
8
- // http://www.apache.org/licenses/LICENSE-2.0
9
- //
10
- // Unless required by applicable law or agreed to in writing, software
11
- // distributed under the License is distributed on an "AS IS" BASIS,
12
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- // See the License for the specific language governing permissions and
14
- // limitations under the License.
15
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,83 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * The configuration options for a Terraform Remote State stored in the AliCloud OSS backend.
4
- */
5
- export interface OssRemoteStateReferenceArgs {
6
- /**
7
- * A constant describing the name of the Terraform backend, used as the discriminant
8
- * for the union of backend configurations.
9
- */
10
- readonly backendType: "oss";
11
- /**
12
- * Alibaba Cloud access key. It supports environment variables `ALICLOUD_ACCESS_KEY`
13
- * and `ALICLOUD_ACCESS_KEY_ID`
14
- */
15
- readonly accessKey?: pulumi.Input<string>;
16
- /**
17
- * Alibaba Cloud secret access key. It supports environment variables `ALICLOUD_SECRET_KEY`
18
- * and `ALICLOUD_ACCESS_KEY_SECRET`.
19
- */
20
- readonly secretKey?: pulumi.Input<string>;
21
- /**
22
- * STS access token. It supports environment variable `ALICLOUD_SECURITY_TOKEN`.
23
- */
24
- readonly securityToken?: pulumi.Input<string>;
25
- /**
26
- * The RAM Role Name attached on a ECS instance for API operations. You can retrieve this from the
27
- * 'Access Control' section of the Alibaba Cloud console.
28
- */
29
- readonly ecsRoleName?: pulumi.Input<string>;
30
- /**
31
- * The region of the OSS bucket. It supports environment variables `ALICLOUD_REGION` and `ALICLOUD_DEFAULT_REGION`.
32
- */
33
- readonly region?: pulumi.Input<string>;
34
- /**
35
- * A custom endpoint for the OSS API. It supports environment variables `ALICLOUD_OSS_ENDPOINT` and `OSS_ENDPOINT`.
36
- */
37
- readonly endpoint?: pulumi.Input<string>;
38
- /**
39
- * The name of the OSS bucket.
40
- */
41
- readonly bucket: pulumi.Input<string>;
42
- /**
43
- * The path directory of the state file will be stored. Default to `env:`.
44
- */
45
- readonly prefix?: pulumi.Input<string>;
46
- /**
47
- * The name of the state file. Defaults to `terraform.tfstate`.
48
- */
49
- readonly key?: pulumi.Input<string>;
50
- /**
51
- * This is the Alibaba Cloud profile name as set in the shared credentials file. It can also be sourced from
52
- * the `ALICLOUD_PROFILE` environment variable.
53
- */
54
- readonly profile?: pulumi.Input<string>;
55
- /**
56
- * This is the path to the shared credentials file. It can also be sourced from the
57
- * `ALICLOUD_SHARED_CREDENTIALS_FILE` environment variable. If this is not set and a profile is
58
- * specified, `~/.aliyun/config.json` will be used.
59
- */
60
- readonly sharedCredentialsFile?: pulumi.Input<string>;
61
- /**
62
- * The ARN of the role to assume. If ARN is set to an empty string, it does not perform role switching.
63
- * It supports environment variable `ALICLOUD_ASSUME_ROLE_ARN`.
64
- */
65
- readonly roleArn?: pulumi.Input<string>;
66
- /**
67
- * A more restrictive policy to apply to the temporary credentials. This gives you a way to further restrict
68
- * the permissions for the resulting temporary security credentials. You cannot use this policy to grant
69
- * permissions which exceed those of the role that is being assumed.
70
- */
71
- readonly policy?: pulumi.Input<string>;
72
- /**
73
- * The session name to use when assuming the role. It supports environment variable
74
- * `ALICLOUD_ASSUME_ROLE_SESSION_NAME`
75
- */
76
- readonly sessionName?: pulumi.Input<string>;
77
- /**
78
- * The time after which the established session for assuming role expires.
79
- * Valid value range: [900-3600] seconds. Default to `3600`. It supports environment variable
80
- * `ALICLOUD_ASSUME_ROLE_SESSION_EXPIRATION`.
81
- */
82
- readonly sessionExpiration?: pulumi.Input<string>;
83
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- // Copyright 2016-2019, Pulumi Corporation.
3
- //
4
- // Licensed under the Apache License, Version 2.0 (the "License");
5
- // you may not use this file except in compliance with the License.
6
- // You may obtain a copy of the License at
7
- //
8
- // http://www.apache.org/licenses/LICENSE-2.0
9
- //
10
- // Unless required by applicable law or agreed to in writing, software
11
- // distributed under the License is distributed on an "AS IS" BASIS,
12
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- // See the License for the specific language governing permissions and
14
- // limitations under the License.
15
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,23 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * The configuration options for a Terraform Remote State stored in the Postgres backend.
4
- */
5
- export interface PostgresRemoteStateReferenceArgs {
6
- /**
7
- * A constant describing the name of the Terraform backend, used as the discriminant
8
- * for the union of backend configurations.
9
- */
10
- backendType: "pg";
11
- /**
12
- * Postgres connection string; a `postgres://` URL
13
- */
14
- connStr: pulumi.Input<string>;
15
- /**
16
- * Name of the automatically-managed Postgres schema. Defaults to `terraform_remote_state`.
17
- */
18
- schemaName?: pulumi.Input<string>;
19
- /**
20
- * The Terraform workspace from which to read state.
21
- */
22
- workspace?: pulumi.Input<string>;
23
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- // Copyright 2016-2019, Pulumi Corporation.
3
- //
4
- // Licensed under the Apache License, Version 2.0 (the "License");
5
- // you may not use this file except in compliance with the License.
6
- // You may obtain a copy of the License at
7
- //
8
- // http://www.apache.org/licenses/LICENSE-2.0
9
- //
10
- // Unless required by applicable law or agreed to in writing, software
11
- // distributed under the License is distributed on an "AS IS" BASIS,
12
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- // See the License for the specific language governing permissions and
14
- // limitations under the License.
15
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,44 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * Configuration options for a workspace for use with the remote enhanced backend.
4
- */
5
- export interface RemoteBackendWorkspaceConfig {
6
- /**
7
- * The full name of one remote workspace. When configured, only the default workspace
8
- * can be used. This option conflicts with prefix.
9
- */
10
- name?: pulumi.Input<string>;
11
- /**
12
- * A prefix used in the names of one or more remote workspaces, all of which can be used
13
- * with this configuration. If unset, only the default workspace can be used. This option
14
- * conflicts with name.
15
- */
16
- prefix?: pulumi.Input<string>;
17
- }
18
- /**
19
- * The configuration options for a Terraform Remote State stored in the remote enhanced
20
- * backend.
21
- */
22
- export interface RemoteBackendRemoteStateReferenceArgs {
23
- /**
24
- * A constant describing the name of the Terraform backend, used as the discriminant
25
- * for the union of backend configurations.
26
- */
27
- backendType: "remote";
28
- /**
29
- * The remote backend hostname to which to connect. Defaults to `app.terraform.io`.
30
- */
31
- hostname?: pulumi.Input<string>;
32
- /**
33
- * The name of the organization containing the targeted workspace(s).
34
- */
35
- organization: pulumi.Input<string>;
36
- /**
37
- * The token used to authenticate with the remote backend.
38
- */
39
- token?: pulumi.Input<string>;
40
- /**
41
- * A block specifying which remote workspace(s) to use.
42
- */
43
- workspaces?: pulumi.Input<RemoteBackendWorkspaceConfig>;
44
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- // Copyright 2016-2019, Pulumi Corporation.
3
- //
4
- // Licensed under the Apache License, Version 2.0 (the "License");
5
- // you may not use this file except in compliance with the License.
6
- // You may obtain a copy of the License at
7
- //
8
- // http://www.apache.org/licenses/LICENSE-2.0
9
- //
10
- // Unless required by applicable law or agreed to in writing, software
11
- // distributed under the License is distributed on an "AS IS" BASIS,
12
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- // See the License for the specific language governing permissions and
14
- // limitations under the License.
15
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,46 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import { ArtifactoryRemoteStateReferenceArgs } from "./artifactoryBackendConfig";
3
- import { AzureRMRemoteStateReferenceArgs } from "./azurermBackendConfig";
4
- import { ConsulRemoteStateReferenceArgs } from "./consulBackendConfig";
5
- import { EtcdV2RemoteStateReferenceArgs } from "./etcdBackendConfig";
6
- import { EtcdV3RemoteStateReferenceArgs } from "./etcdV3BackendConfig";
7
- import { GCSRemoteStateReferenceArgs } from "./gcsBackendConfig";
8
- import { HttpRemoteStateReferenceArgs } from "./httpBackendConfig";
9
- import { LocalBackendRemoteStateReferenceArgs } from "./localBackendConfig";
10
- import { MantaRemoteStateReferenceArgs } from "./mantaBackendConfig";
11
- import { PostgresRemoteStateReferenceArgs } from "./pgBackendConfig";
12
- import { RemoteBackendRemoteStateReferenceArgs } from "./remoteBackendConfig";
13
- import { S3RemoteStateReferenceArgs } from "./s3BackendConfig";
14
- import { SwiftRemoteStateReferenceArgs } from "./swiftBackendConfig";
15
- import { OssRemoteStateReferenceArgs } from "./ossBackendConfig";
16
- /**
17
- * The set of arguments for constructing a RemoteStateReference resource.
18
- */
19
- export declare type RemoteStateReferenceArgs = ArtifactoryRemoteStateReferenceArgs | AzureRMRemoteStateReferenceArgs | ConsulRemoteStateReferenceArgs | EtcdV2RemoteStateReferenceArgs | EtcdV3RemoteStateReferenceArgs | GCSRemoteStateReferenceArgs | HttpRemoteStateReferenceArgs | LocalBackendRemoteStateReferenceArgs | MantaRemoteStateReferenceArgs | OssRemoteStateReferenceArgs | PostgresRemoteStateReferenceArgs | RemoteBackendRemoteStateReferenceArgs | S3RemoteStateReferenceArgs | SwiftRemoteStateReferenceArgs;
20
- /**
21
- * Manages a reference to a Terraform Remote State.. The root outputs of the remote state are available
22
- * via the `outputs` property or the `getOutput` method.
23
- */
24
- export declare class RemoteStateReference extends pulumi.CustomResource {
25
- /**
26
- * The root outputs of the referenced Terraform state.
27
- */
28
- readonly outputs: pulumi.Output<{
29
- [name: string]: any;
30
- }>;
31
- /**
32
- * Create a RemoteStateReference resource with the given unique name, arguments, and options.
33
- *
34
- * @param name The _unique_ name of the remote state reference.
35
- * @param args The arguments to use to populate this resource's properties.
36
- * @param opts A bag of options that control this resource's behavior.
37
- */
38
- constructor(name: string, args: RemoteStateReferenceArgs, opts?: pulumi.CustomResourceOptions);
39
- /**
40
- * Fetches the value of a root output from the Terraform Remote State.
41
- *
42
- * @param name The name of the output to fetch. The name is formatted exactly as per
43
- * the "output" block in the Terraform configuration.
44
- */
45
- getOutput(name: pulumi.Input<string>): pulumi.Output<any>;
46
- }
@@ -1,43 +0,0 @@
1
- "use strict";
2
- // Copyright 2016-2019, Pulumi Corporation.
3
- //
4
- // Licensed under the Apache License, Version 2.0 (the "License");
5
- // you may not use this file except in compliance with the License.
6
- // You may obtain a copy of the License at
7
- //
8
- // http://www.apache.org/licenses/LICENSE-2.0
9
- //
10
- // Unless required by applicable law or agreed to in writing, software
11
- // distributed under the License is distributed on an "AS IS" BASIS,
12
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- // See the License for the specific language governing permissions and
14
- // limitations under the License.
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.RemoteStateReference = void 0;
17
- const pulumi = require("@pulumi/pulumi");
18
- /**
19
- * Manages a reference to a Terraform Remote State.. The root outputs of the remote state are available
20
- * via the `outputs` property or the `getOutput` method.
21
- */
22
- class RemoteStateReference extends pulumi.CustomResource {
23
- /**
24
- * Create a RemoteStateReference resource with the given unique name, arguments, and options.
25
- *
26
- * @param name The _unique_ name of the remote state reference.
27
- * @param args The arguments to use to populate this resource's properties.
28
- * @param opts A bag of options that control this resource's behavior.
29
- */
30
- constructor(name, args, opts) {
31
- super("terraform:state:RemoteStateReference", name, Object.assign({ outputs: undefined }, args), Object.assign(Object.assign({}, opts), { id: name }));
32
- }
33
- /**
34
- * Fetches the value of a root output from the Terraform Remote State.
35
- *
36
- * @param name The name of the output to fetch. The name is formatted exactly as per
37
- * the "output" block in the Terraform configuration.
38
- */
39
- getOutput(name) {
40
- return pulumi.all([pulumi.output(name), this.outputs]).apply(([n, os]) => os[n]);
41
- }
42
- }
43
- exports.RemoteStateReference = RemoteStateReference;
@@ -1,94 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * The configuration options for a Terraform Remote State stored in the S3 backend.
4
- */
5
- export interface S3RemoteStateReferenceArgs {
6
- /**
7
- * A constant describing the name of the Terraform backend, used as the discriminant
8
- * for the union of backend configurations.
9
- */
10
- readonly backendType: "s3";
11
- /**
12
- * The name of the S3 bucket.
13
- */
14
- readonly bucket: pulumi.Input<string>;
15
- /**
16
- * The path to the state file inside the bucket. When using a non-default workspace,
17
- * the state path will be `/workspace_key_prefix/workspace_name/key`.
18
- */
19
- readonly key: pulumi.Input<string>;
20
- /**
21
- * The region of the S3 bucket. Also sourced from `AWS_DEFAULT_REGION` in the environment, if unset.
22
- */
23
- readonly region?: pulumi.Input<string>;
24
- /**
25
- * A custom endpoint for the S3 API. Also sourced from `AWS_S3_ENDPOINT` in the environment, if unset.
26
- */
27
- readonly endpoint?: pulumi.Input<string>;
28
- /**
29
- * AWS Access Key. Sourced from the standard credentials pipeline, if unset.
30
- */
31
- readonly accessKey?: pulumi.Input<string>;
32
- /**
33
- * AWS Secret Access Key. Sourced from the standard credentials pipeline, if unset.
34
- */
35
- readonly secretKey?: pulumi.Input<string>;
36
- /**
37
- * The AWS profile name as set in the shared credentials file.
38
- */
39
- readonly profile?: pulumi.Input<string>;
40
- /**
41
- * The path to the shared credentials file. If this is not set and a profile is
42
- * specified, `~/.aws/credentials` will be used by default.
43
- */
44
- readonly sharedCredentialsFile?: pulumi.Input<string>;
45
- /**
46
- * An MFA token. Sourced from the `AWS_SESSION_TOKEN` in the environment variable if needed and unset.
47
- */
48
- readonly token?: pulumi.Input<string>;
49
- /**
50
- * The ARN of an IAM Role to be assumed in order to read the state from S3.
51
- */
52
- readonly roleArn?: pulumi.Input<string>;
53
- /**
54
- * The external ID to use when assuming the IAM role.
55
- */
56
- readonly externalId?: pulumi.Input<string>;
57
- /**
58
- * The session name to use when assuming the IAM role.
59
- */
60
- readonly sessionName?: pulumi.Input<string>;
61
- /**
62
- * The prefix applied to the state path inside the bucket. This is only relevant when
63
- * using a non-default workspace, and defaults to `env:`.
64
- */
65
- readonly workspaceKeyPrefix?: pulumi.Input<string>;
66
- /**
67
- * A custom endpoint for the IAM API. Sourced from `AWS_IAM_ENDPOINT`, if unset.
68
- */
69
- readonly iamEndpoint?: pulumi.Input<string>;
70
- /**
71
- * A custom endpoint for the STS API. Sourced from `AWS_STS_ENDPOINT`, if unset.
72
- */
73
- readonly stsEndpoint?: pulumi.Input<string>;
74
- /**
75
- * Skip the credentials validation via STS API.
76
- */
77
- readonly skipCredentialsValidation?: pulumi.Input<boolean>;
78
- /**
79
- * Skip static validation of region name.
80
- */
81
- readonly skipRegionValidation?: pulumi.Input<boolean>;
82
- /**
83
- * Skip the AWS Metadata API check.
84
- */
85
- readonly skipMetadataApiCheck?: pulumi.Input<boolean>;
86
- /**
87
- * Force s3 to use path style api.
88
- */
89
- readonly forcePathStyle?: pulumi.Input<boolean>;
90
- /**
91
- * The Terraform workspace from which to read state.
92
- */
93
- readonly workspace?: pulumi.Input<string>;
94
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- // Copyright 2016-2019, Pulumi Corporation.
3
- //
4
- // Licensed under the Apache License, Version 2.0 (the "License");
5
- // you may not use this file except in compliance with the License.
6
- // You may obtain a copy of the License at
7
- //
8
- // http://www.apache.org/licenses/LICENSE-2.0
9
- //
10
- // Unless required by applicable law or agreed to in writing, software
11
- // distributed under the License is distributed on an "AS IS" BASIS,
12
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- // See the License for the specific language governing permissions and
14
- // limitations under the License.
15
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,85 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * The configuration options for a Terraform Remote State stored in the Swift backend.
4
- */
5
- export interface SwiftRemoteStateReferenceArgs {
6
- /**
7
- * A constant describing the name of the Terraform backend, used as the discriminant
8
- * for the union of backend configurations.
9
- */
10
- backendType: "swift";
11
- /**
12
- * The Identity authentication URL. Sourced from `OS_AUTH_URL` in the environment, if unset.
13
- */
14
- authUrl: pulumi.Input<string>;
15
- /**
16
- * The name of the container in which the Terraform state file is stored.
17
- */
18
- container: pulumi.Input<string>;
19
- /**
20
- * The username with which to log in. Sourced from `OS_USERNAME` in the environment, if
21
- * unset.
22
- */
23
- userName?: pulumi.Input<string>;
24
- /**
25
- * The user ID with which to log in. Sourced from `OS_USER_ID` in the environment, if
26
- * unset.
27
- */
28
- userId?: pulumi.Input<string>;
29
- /**
30
- * The password with which to log in. Sourced from `OS_PASSWORD` in the environment,
31
- * if unset.
32
- */
33
- password?: pulumi.Input<string>;
34
- /**
35
- * Access token with which to log in in stead of a username and password. Sourced from
36
- * `OS_AUTH_TOKEN` in the environment, if unset.
37
- */
38
- token?: pulumi.Input<string>;
39
- /**
40
- * The region in which the state file is stored. Sourced from `OS_REGION_NAME`, if
41
- * unset.
42
- */
43
- regionName: pulumi.Input<string>;
44
- /**
45
- * The ID of the tenant (for identity v2) or project (identity v3) which which to log in.
46
- * Sourced from `OS_TENANT_ID` or `OS_PROJECT_ID` in the environment, if unset.
47
- */
48
- tenantId?: pulumi.Input<string>;
49
- /**
50
- * The name of the tenant (for identity v2) or project (identity v3) which which to log in.
51
- * Sourced from `OS_TENANT_NAME` or `OS_PROJECT_NAME` in the environment, if unset.
52
- */
53
- tenantName?: pulumi.Input<string>;
54
- /**
55
- * The ID of the domain to scope the log in to (identity v3). Sourced from `OS_USER_DOMAIN_ID`,
56
- * `OS_PROJECT_DOMAIN_ID` or `OS_DOMAIN_ID` in the environment, if unset.
57
- */
58
- domainId?: pulumi.Input<string>;
59
- /**
60
- * The name of the domain to scope the log in to (identity v3). Sourced from
61
- * `OS_USER_DOMAIN_NAME`, `OS_PROJECT_DOMAIN_NAME` or `OS_DOMAIN_NAME` in the environment,
62
- * if unset.
63
- */
64
- domainName?: pulumi.Input<string>;
65
- /**
66
- * Whether to disable verification of the server TLS certificate. Sourced from
67
- * `OS_INSECURE` in the environment, if unset.
68
- */
69
- insecure?: pulumi.Input<boolean>;
70
- /**
71
- * A path to a CA root certificate for verifying the server TLS certificate. Sourced from
72
- * `OS_CACERT` in the environment, if unset.
73
- */
74
- cacertFile?: pulumi.Input<string>;
75
- /**
76
- * A path to a client certificate for TLS client authentication. Sourced from `OS_CERT`
77
- * in the environment, if unset.
78
- */
79
- cert?: pulumi.Input<string>;
80
- /**
81
- * A path to the private key corresponding to the client certificate for TLS client
82
- * authentication. Sourced from `OS_KEY` in the environment, if unset.
83
- */
84
- key?: pulumi.Input<string>;
85
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- // Copyright 2016-2019, Pulumi Corporation.
3
- //
4
- // Licensed under the Apache License, Version 2.0 (the "License");
5
- // you may not use this file except in compliance with the License.
6
- // You may obtain a copy of the License at
7
- //
8
- // http://www.apache.org/licenses/LICENSE-2.0
9
- //
10
- // Unless required by applicable law or agreed to in writing, software
11
- // distributed under the License is distributed on an "AS IS" BASIS,
12
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- // See the License for the specific language governing permissions and
14
- // limitations under the License.
15
- Object.defineProperty(exports, "__esModule", { value: true });