mirror of https://github.com/pulumi/pulumi.git
0e611ef790
### Description Recently we have been encountering out of memory errors when trying to convert terraform modules. Found out that the problem is two-fold: - pulumi-terraform-converter rewriting `module example "../../"` (tf) into `component example "./."` (pcl) - we try to bind component `example` but it reads its source from the same directory as the program of the component, causing an infinite recursion. This PR fixes part 2 of the issue, erroring out if the component's source is the same as the current binder directory path. Partially addresses https://github.com/pulumi/pulumi-converter-terraform/issues/194 we still need to fix part 1 on the converter side of things |
||
---|---|---|
.. | ||
README.md | ||
binder.go | ||
binder_component.go | ||
binder_nodes.go | ||
binder_resource.go | ||
binder_resource_test.go | ||
binder_schema.go | ||
binder_schema_test.go | ||
binder_test.go | ||
component.go | ||
config.go | ||
diagnostics.go | ||
functions.go | ||
functions_test.go | ||
intrinsics.go | ||
invoke.go | ||
local.go | ||
output.go | ||
program.go | ||
resource.go | ||
rewrite_apply.go | ||
rewrite_apply_test.go | ||
rewrite_convert.go | ||
rewrite_convert_test.go | ||
rewrite_properties.go | ||
type.go | ||
utilities.go | ||
utilities_test.go |
README.md
(pcl)=
Pulumi Configuration Language (PCL)
Pulumi Configuration Language (PCL) is an internal representation of Pulumi programs which supports all core concepts of the Pulumi programming model in a minimal form. Although not exposed directly to users today, this intermediate representation is used to support a variety of program conversion tasks, from and to various supported Pulumi languages.