-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b797040
commit 8f0d5cd
Showing
5 changed files
with
756 additions
and
2 deletions.
There are no files selected for viewing
97 changes: 97 additions & 0 deletions
97
pkg/pf/tfgen/testdata/TestDataSourceAttributeVsBlockSchemaNameOverride.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
{ | ||
"name": "testprovider", | ||
"version": "0.0.1", | ||
"attribution": "This Pulumi package is based on the [`testprovider` Terraform Provider](https://github.com/terraform-providers/terraform-provider-testprovider).", | ||
"meta": { | ||
"moduleFormat": "(.*)(?:/[^/]*)" | ||
}, | ||
"language": { | ||
"nodejs": { | ||
"readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-testprovider)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e please consult the source [`terraform-provider-testprovider` repo](https://github.com/terraform-providers/terraform-provider-testprovider/issues).", | ||
"compatibility": "tfbridge20", | ||
"disableUnionOutputTypes": true | ||
}, | ||
"python": { | ||
"readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-testprovider)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e please consult the source [`terraform-provider-testprovider` repo](https://github.com/terraform-providers/terraform-provider-testprovider/issues).", | ||
"compatibility": "tfbridge20", | ||
"pyproject": {} | ||
} | ||
}, | ||
"config": {}, | ||
"types": { | ||
"testprovider:index/getAttrResCollection1:getAttrResCollection1": { | ||
"properties": { | ||
"prop": { | ||
"type": "string" | ||
} | ||
}, | ||
"type": "object" | ||
}, | ||
"testprovider:index/getBlockResCollection1:getBlockResCollection1": { | ||
"properties": { | ||
"prop1": { | ||
"type": "string" | ||
} | ||
}, | ||
"type": "object" | ||
} | ||
}, | ||
"provider": { | ||
"description": "The provider type for the testprovider package. By default, resources use package-wide configuration\nsettings, however an explicit `Provider` instance may be created and passed during resource\nconstruction to achieve fine-grained programmatic control over provider settings. See the\n[documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.\n" | ||
}, | ||
"functions": { | ||
"testprovider:index/getAttrRes:getAttrRes": { | ||
"outputs": { | ||
"description": "A collection of values returned by getAttrRes.\n", | ||
"properties": { | ||
"collection1": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/types/testprovider:index/getAttrResCollection1:getAttrResCollection1" | ||
} | ||
}, | ||
"id": { | ||
"type": "string" | ||
} | ||
}, | ||
"type": "object", | ||
"required": [ | ||
"collection1", | ||
"id" | ||
] | ||
} | ||
}, | ||
"testprovider:index/getBlockRes:getBlockRes": { | ||
"inputs": { | ||
"description": "A collection of arguments for invoking getBlockRes.\n", | ||
"properties": { | ||
"collection1": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/types/testprovider:index/getBlockResCollection1:getBlockResCollection1" | ||
} | ||
} | ||
}, | ||
"type": "object" | ||
}, | ||
"outputs": { | ||
"description": "A collection of values returned by getBlockRes.\n", | ||
"properties": { | ||
"collection1": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/types/testprovider:index/getBlockResCollection1:getBlockResCollection1" | ||
} | ||
}, | ||
"id": { | ||
"type": "string" | ||
} | ||
}, | ||
"type": "object", | ||
"required": [ | ||
"id" | ||
] | ||
} | ||
} | ||
} | ||
} |
123 changes: 123 additions & 0 deletions
123
pkg/pf/tfgen/testdata/TestRegressDatabricksNestedCsharpOverrideAttributesSchema.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
{ | ||
"name": "testprovider", | ||
"version": "0.0.1", | ||
"attribution": "This Pulumi package is based on the [`testprovider` Terraform Provider](https://github.com/terraform-providers/terraform-provider-testprovider).", | ||
"meta": { | ||
"moduleFormat": "(.*)(?:/[^/]*)" | ||
}, | ||
"language": { | ||
"nodejs": { | ||
"readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-testprovider)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e please consult the source [`terraform-provider-testprovider` repo](https://github.com/terraform-providers/terraform-provider-testprovider/issues).", | ||
"compatibility": "tfbridge20", | ||
"disableUnionOutputTypes": true | ||
}, | ||
"python": { | ||
"readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-testprovider)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e please consult the source [`terraform-provider-testprovider` repo](https://github.com/terraform-providers/terraform-provider-testprovider/issues).", | ||
"compatibility": "tfbridge20", | ||
"pyproject": {} | ||
} | ||
}, | ||
"config": {}, | ||
"types": { | ||
"testprovider:index/getServingEndpointsEndpoints1:getServingEndpointsEndpoints1": { | ||
"properties": { | ||
"aiGateways": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/types/testprovider:index/getServingEndpointsEndpoints1AiGateway:getServingEndpointsEndpoints1AiGateway" | ||
} | ||
} | ||
}, | ||
"type": "object", | ||
"required": [ | ||
"aiGateways" | ||
], | ||
"language": { | ||
"nodejs": { | ||
"requiredInputs": [] | ||
} | ||
} | ||
}, | ||
"testprovider:index/getServingEndpointsEndpoints1AiGateway:getServingEndpointsEndpoints1AiGateway": { | ||
"properties": { | ||
"guardrails": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/types/testprovider:index/getServingEndpointsEndpoints1AiGatewayGuardrail:getServingEndpointsEndpoints1AiGatewayGuardrail" | ||
} | ||
} | ||
}, | ||
"type": "object", | ||
"required": [ | ||
"guardrails" | ||
], | ||
"language": { | ||
"nodejs": { | ||
"requiredInputs": [] | ||
} | ||
} | ||
}, | ||
"testprovider:index/getServingEndpointsEndpoints1AiGatewayGuardrail:getServingEndpointsEndpoints1AiGatewayGuardrail": { | ||
"properties": { | ||
"inputs": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/types/testprovider:index/getServingEndpointsEndpoints1AiGatewayGuardrailInput:getServingEndpointsEndpoints1AiGatewayGuardrailInput" | ||
} | ||
} | ||
}, | ||
"type": "object", | ||
"required": [ | ||
"inputs" | ||
], | ||
"language": { | ||
"nodejs": { | ||
"requiredInputs": [] | ||
} | ||
} | ||
}, | ||
"testprovider:index/getServingEndpointsEndpoints1AiGatewayGuardrailInput:getServingEndpointsEndpoints1AiGatewayGuardrailInput": { | ||
"properties": { | ||
"maxBatchSize": { | ||
"type": "integer" | ||
} | ||
}, | ||
"type": "object", | ||
"required": [ | ||
"maxBatchSize" | ||
], | ||
"language": { | ||
"nodejs": { | ||
"requiredInputs": [] | ||
} | ||
} | ||
} | ||
}, | ||
"provider": { | ||
"description": "The provider type for the testprovider package. By default, resources use package-wide configuration\nsettings, however an explicit `Provider` instance may be created and passed during resource\nconstruction to achieve fine-grained programmatic control over provider settings. See the\n[documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.\n" | ||
}, | ||
"functions": { | ||
"testprovider:index/getServingEndpoints:getServingEndpoints": { | ||
"outputs": { | ||
"description": "A collection of values returned by getServingEndpoints.\n", | ||
"properties": { | ||
"endpoints1": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/types/testprovider:index/getServingEndpointsEndpoints1:getServingEndpointsEndpoints1" | ||
} | ||
}, | ||
"id": { | ||
"type": "string", | ||
"description": "The provider-assigned unique ID for this managed resource.\n" | ||
} | ||
}, | ||
"type": "object", | ||
"required": [ | ||
"endpoints1", | ||
"id" | ||
] | ||
} | ||
} | ||
} | ||
} |
110 changes: 110 additions & 0 deletions
110
pkg/pf/tfgen/testdata/TestRegressDatabricksNestedCsharpOverrideBlocksSchema.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
{ | ||
"name": "testprovider", | ||
"version": "0.0.1", | ||
"attribution": "This Pulumi package is based on the [`testprovider` Terraform Provider](https://github.com/terraform-providers/terraform-provider-testprovider).", | ||
"meta": { | ||
"moduleFormat": "(.*)(?:/[^/]*)" | ||
}, | ||
"language": { | ||
"nodejs": { | ||
"readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-testprovider)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e please consult the source [`terraform-provider-testprovider` repo](https://github.com/terraform-providers/terraform-provider-testprovider/issues).", | ||
"compatibility": "tfbridge20", | ||
"disableUnionOutputTypes": true | ||
}, | ||
"python": { | ||
"readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-testprovider)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e please consult the source [`terraform-provider-testprovider` repo](https://github.com/terraform-providers/terraform-provider-testprovider/issues).", | ||
"compatibility": "tfbridge20", | ||
"pyproject": {} | ||
} | ||
}, | ||
"config": {}, | ||
"types": { | ||
"testprovider:index/getServingEndpointsEndpoints1:getServingEndpointsEndpoints1": { | ||
"properties": { | ||
"aiGateway1": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/types/testprovider:index/getServingEndpointsEndpoints1AiGateway1:getServingEndpointsEndpoints1AiGateway1" | ||
} | ||
} | ||
}, | ||
"type": "object" | ||
}, | ||
"testprovider:index/getServingEndpointsEndpoints1AiGateway1:getServingEndpointsEndpoints1AiGateway1": { | ||
"properties": { | ||
"guardrails1": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/types/testprovider:index/getServingEndpointsEndpoints1AiGateway1Guardrails1:getServingEndpointsEndpoints1AiGateway1Guardrails1" | ||
} | ||
} | ||
}, | ||
"type": "object" | ||
}, | ||
"testprovider:index/getServingEndpointsEndpoints1AiGateway1Guardrails1:getServingEndpointsEndpoints1AiGateway1Guardrails1": { | ||
"properties": { | ||
"input1": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/types/testprovider:index/getServingEndpointsEndpoints1AiGateway1Guardrails1Input1:getServingEndpointsEndpoints1AiGateway1Guardrails1Input1" | ||
} | ||
} | ||
}, | ||
"type": "object" | ||
}, | ||
"testprovider:index/getServingEndpointsEndpoints1AiGateway1Guardrails1Input1:getServingEndpointsEndpoints1AiGateway1Guardrails1Input1": { | ||
"properties": { | ||
"maxBatchSize": { | ||
"type": "integer", | ||
"language": { | ||
"csharp": { | ||
"name": "MaxBatchSize1" | ||
} | ||
} | ||
} | ||
}, | ||
"type": "object", | ||
"required": [ | ||
"maxBatchSize" | ||
] | ||
} | ||
}, | ||
"provider": { | ||
"description": "The provider type for the testprovider package. By default, resources use package-wide configuration\nsettings, however an explicit `Provider` instance may be created and passed during resource\nconstruction to achieve fine-grained programmatic control over provider settings. See the\n[documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.\n" | ||
}, | ||
"functions": { | ||
"testprovider:index/getServingEndpoints:getServingEndpoints": { | ||
"inputs": { | ||
"description": "A collection of arguments for invoking getServingEndpoints.\n", | ||
"properties": { | ||
"endpoints1": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/types/testprovider:index/getServingEndpointsEndpoints1:getServingEndpointsEndpoints1" | ||
} | ||
} | ||
}, | ||
"type": "object" | ||
}, | ||
"outputs": { | ||
"description": "A collection of values returned by getServingEndpoints.\n", | ||
"properties": { | ||
"endpoints1": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/types/testprovider:index/getServingEndpointsEndpoints1:getServingEndpointsEndpoints1" | ||
} | ||
}, | ||
"id": { | ||
"type": "string", | ||
"description": "The provider-assigned unique ID for this managed resource.\n" | ||
} | ||
}, | ||
"type": "object", | ||
"required": [ | ||
"id" | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.