pulumi-terraform 6.0.0__py3-none-any.whl → 6.0.1__py3-none-any.whl

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.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "terraform",
4
- "version": "6.0.0"
4
+ "version": "6.0.1"
5
5
  }
@@ -0,0 +1,23 @@
1
+ Metadata-Version: 2.4
2
+ Name: pulumi_terraform
3
+ Version: 6.0.1
4
+ Summary: The Terraform provider for Pulumi lets you consume the outputs contained in Terraform state from your Pulumi programs.
5
+ License: Apache-2.0
6
+ Project-URL: Homepage, https://pulumi.com
7
+ Project-URL: Repository, https://github.com/pulumi/pulumi-terraform
8
+ Keywords: terraform,kind/native,category/utility
9
+ Requires-Python: >=3.9
10
+ Description-Content-Type: text/markdown
11
+ Requires-Dist: parver>=0.2.1
12
+ Requires-Dist: pulumi<4.0.0,>=3.142.0
13
+ Requires-Dist: semver>=2.8.1
14
+ Requires-Dist: typing-extensions>=4.11; python_version < "3.11"
15
+
16
+ # Pulumi Terraform Provider
17
+
18
+ The Terraform resource provider for Pulumi lets you consume the outputs contained in
19
+ Terraform state files from your Pulumi programs.
20
+
21
+ > [!IMPORTANT]
22
+ > For reference docs and installation instructions, please go to
23
+ > <https://www.pulumi.com/registry/packages/terraform/>.
@@ -1,13 +1,13 @@
1
1
  pulumi_terraform/__init__.py,sha256=ZKaNSfrrEzsIhfem0AhtgdUBrvd27vo24FXn4gRLcEY,689
2
2
  pulumi_terraform/_utilities.py,sha256=66uLGQDI1oMFOI3Fe5igAphtexWhcSLDyuVW50jW3ik,10789
3
3
  pulumi_terraform/provider.py,sha256=Woo4KoAlaORJ8X27QKeM0E0ja3ixQuiQJTkJyPJbKkU,2931
4
- pulumi_terraform/pulumi-plugin.json,sha256=a_RYcVn731_sy-9H3lAjSImE-S-pWvO1YzGdDY7Oxaw,68
4
+ pulumi_terraform/pulumi-plugin.json,sha256=1fWL8oTixB--WEoZ95u41hs-FDpKoju2WxZ4-FWyk5k,68
5
5
  pulumi_terraform/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  pulumi_terraform/state/__init__.py,sha256=Ar2NX3_dORSCL7Qcz1J68WwrdBM9oPergv_4GfBSxf0,361
7
7
  pulumi_terraform/state/_inputs.py,sha256=lX3T_oxYe1Z0bwO-M4TLsZNITtm0iz0TEw_cc4WNXxE,3240
8
8
  pulumi_terraform/state/get_local_reference.py,sha256=6Wc7zO8VgbUIClHgz9e1Dx4frXdNBPWGC17OrN3HEHs,3425
9
9
  pulumi_terraform/state/get_remote_reference.py,sha256=S43jNUWM1lWhU4HYiSwigPgUhhw9O6usgKZSO_eZu4g,4090
10
- pulumi_terraform-6.0.0.dist-info/METADATA,sha256=AqwKYaXGFi1VnowyxM-MgcivETUff8koFOFcWWG9au4,3431
11
- pulumi_terraform-6.0.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
12
- pulumi_terraform-6.0.0.dist-info/top_level.txt,sha256=mQHWBkiLSwbC0GLgDIZQUFXyWbV-9C15VFPow5RFqUE,17
13
- pulumi_terraform-6.0.0.dist-info/RECORD,,
10
+ pulumi_terraform-6.0.1.dist-info/METADATA,sha256=GlGKUSWeBSm7X64Jn2hlioSrP6mAZizmAbXb9o9fw3Y,893
11
+ pulumi_terraform-6.0.1.dist-info/WHEEL,sha256=lTU6B6eIfYoiQJTZNc-fyaR6BpL6ehTzU3xGYxn2n8k,91
12
+ pulumi_terraform-6.0.1.dist-info/top_level.txt,sha256=mQHWBkiLSwbC0GLgDIZQUFXyWbV-9C15VFPow5RFqUE,17
13
+ pulumi_terraform-6.0.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (78.1.0)
2
+ Generator: setuptools (78.1.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,117 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: pulumi_terraform
3
- Version: 6.0.0
4
- Summary: The Terraform provider for Pulumi lets you consume the outputs contained in Terraform state from your Pulumi programs.
5
- License: Apache-2.0
6
- Project-URL: Homepage, https://pulumi.com
7
- Project-URL: Repository, https://github.com/pulumi/pulumi-terraform
8
- Keywords: terraform,kind/native,category/utility
9
- Requires-Python: >=3.9
10
- Description-Content-Type: text/markdown
11
- Requires-Dist: parver>=0.2.1
12
- Requires-Dist: pulumi<4.0.0,>=3.142.0
13
- Requires-Dist: semver>=2.8.1
14
- Requires-Dist: typing-extensions>=4.11; python_version < "3.11"
15
-
16
- # Pulumi Terraform Provider
17
-
18
- The Terraform resource provider for Pulumi lets you consume the outputs
19
- contained in Terraform state files from your Pulumi programs. The package
20
- provides a `RemoteStateReference` resource which acts like a native Pulumi
21
- [`StackReference`][stackreference].
22
-
23
- To use this package, please [install the Pulumi CLI first][pulumicli].
24
-
25
- ## Installing
26
-
27
- ### Node.js (JavaScript/TypeScript)
28
-
29
- To use from JavaScript or TypeScript in Node.js, install using either `npm`:
30
-
31
- $ npm install @pulumi/terraform
32
-
33
- or `yarn`:
34
-
35
- $ yarn add @pulumi/terraform
36
-
37
- ### Python
38
-
39
- To use from Python, install using `pip`:
40
-
41
- $ pip install pulumi-terraform
42
-
43
- ## Concepts
44
-
45
- The `@pulumi/terraform` package provides a [resource](https://www.pulumi.com/docs/concepts/resources/) named `RemoteStateReference`
46
- which is used to read outputs from a Terraform state file stored in one of the supported
47
- Terraform remote state backends.
48
-
49
- ## Examples
50
-
51
- ### S3
52
-
53
- The following program will read a Terraform state file stored in S3:
54
-
55
- ```typescript
56
- import * as tf from "@pulumi/terraform";
57
-
58
- const remoteState = new tf.state.RemoteStateReference("s3state", {
59
- backendType: "s3",
60
- bucket: "pulumi-terraform-state-test",
61
- key: "test/terraform.tfstate",
62
- region: "us-west-2"
63
- });
64
-
65
- // Use the getOutput function on the resource to access root outputs
66
- const vpcId= remoteState.getOutput("vpc_id");
67
- ```
68
-
69
- ### Local file
70
-
71
- The following program will read a Terraform state file stored locally in the
72
- filesystem:
73
-
74
- ```typescript
75
- import * as tf from "@pulumi/terraform";
76
-
77
- const remotestate = new tf.state.RemoteStateReference("localstate", {
78
- backendType: "local",
79
- path: path.join(__dirname, "terraform.tfstate"),
80
- });
81
-
82
- // Use the getOutput function on the resource to access root outputs
83
- const vpcId= remoteState.getOutput("vpc_id");
84
- ```
85
-
86
- ### Terraform Enterprise
87
-
88
- For state stored in Terraform Enterprise, the authentication token must be set
89
- via the Pulumi configuration system - for example, using:
90
-
91
- pulumi config set --secret terraformEnterpriseToken <value>
92
-
93
- The following program will read a Terraform state file stored in Terraform
94
- Enterprise, using the value of `terraformEnterpriseToken` from above:
95
-
96
- ```typescript
97
- import * as pulumi from "@pulumi/pulumi";
98
- import * as tf from "@pulumi/terraform";
99
-
100
- const config = new pulumi.Config();
101
-
102
- const ref = new tf.state.RemoteStateReference("remote", {
103
- backendType: "remote",
104
- organization: "pulumi",
105
- token: config.requireSecret("terraformEnterpriseToken"),
106
- workspaces: {
107
- name: "test-state-file"
108
- }
109
- });
110
-
111
- // Use the getOutput function on the resource to access root outputs
112
- const vpcId= remoteState.getOutput("vpc_id");
113
- ```
114
-
115
- [stackreference]: https://www.pulumi.com/docs/reference/organizing-stacks-projects/#inter-stack-dependencies
116
- [pulumicli]: https://pulumi.com/
117
-