Skip to content

Commit

Permalink
Upgrade pulumi-converter-terraform to v1.0.16 (#3775)
Browse files Browse the repository at this point in the history
This improves documentation rendering specifically improves the code
generated for the rendered examples. Notable feature is that DependsOn
is now generated.

Functions such as aws:cloudfront/getFunction:getFunction now generate
examples where they did not have any.

I believe this is because the following warnings are fixed in the new
converter:

```
    120:   1 warning: failed to convert HCL for #/resources/aws:apigateway/domainName:DomainName to go: :2,39-50: Terraform input not yet implemented; path, and 2 other diagnostic(s)
    121:   1 warning: failed to convert HCL for #/resources/aws:apigateway/domainName:DomainName to go: :5,37-48: Terraform input not yet implemented; path, and 2 other diagnostic(s)
    122:   1 warning: failed to convert HCL for #/resources/aws:apigateway/domainName:DomainName to java: :2,39-50: Terraform input not yet implemented; path, and 2 other diagnostic(s)
    123:   1 warning: failed to convert HCL for #/resources/aws:apigateway/domainName:DomainName to java: :5,37-48: Terraform input not yet implemented; path, and 2 other diagnostic(s)
    124:   1 warning: failed to convert HCL for #/resources/aws:apigateway/domainName:DomainName to python: :2,39-50: Terraform input not yet implemented; path, and 2 other diagnostic(s)
    125:   1 warning: failed to convert HCL for #/resources/aws:apigateway/domainName:DomainName to python: :5,37-48: Terraform input not yet implemented; path, and 2 other diagnostic(s)
    126:   1 warning: failed to convert HCL for #/resources/aws:apigateway/domainName:DomainName to typescript: :2,39-50: Terraform input not yet implemented; path, and 2 other diagnostic(s)
    127:   1 warning: failed to convert HCL for #/resources/aws:apigateway/domainName:DomainName to typescript: :5,37-48: Terraform input not yet implemented; path, and 2 other diagnostic(s)
    128:   1 warning: failed to convert HCL for #/resources/aws:apigateway/domainName:DomainName to yaml: :2,39-50: Terraform input not yet implemented; path, and 2 other diagnostic(s)
    129:   1 warning: failed to convert HCL for #/resources/aws:apigateway/domainName:DomainName to yaml: :5,37-48: Terraform input not yet implemented; path, and 2 other diagnostic(s)
    157:   1 warning: failed to convert HCL for #/resources/aws:cloudfront/function:Function to csharp: :6,21-32: Terraform input not yet implemented; path
    158:   1 warning: failed to convert HCL for #/resources/aws:cloudfront/function:Function to go: :6,21-32: Terraform input not yet implemented; path
    159:   1 warning: failed to convert HCL for #/resources/aws:cloudfront/function:Function to java: :6,21-32: Terraform input not yet implemented; path
    160:   1 warning: failed to convert HCL for #/resources/aws:cloudfront/function:Function to python: :6,21-32: Terraform input not yet implemented; path
    161:   1 warning: failed to convert HCL for #/resources/aws:cloudfront/function:Function to typescript: :6,21-32: Terraform input not yet implemented; path
    162:   1 warning: failed to convert HCL for #/resources/aws:cloudfront/function:Function to yaml: :6,21-32: Terraform input not yet implemented; path
    170:   1 warning: failed to convert HCL for #/resources/aws:controltower/landingZone:LandingZone to csharp: :2,27-38: Terraform input not yet implemented; path
    171:   1 warning: failed to convert HCL for #/resources/aws:controltower/landingZone:LandingZone to go: :2,27-38: Terraform input not yet implemented; path
    172:   1 warning: failed to convert HCL for #/resources/aws:controltower/landingZone:LandingZone to java: :2,27-38: Terraform input not yet implemented; path
    173:   1 warning: failed to convert HCL for #/resources/aws:controltower/landingZone:LandingZone to python: :2,27-38: Terraform input not yet implemented; path
    174:   1 warning: failed to convert HCL for #/resources/aws:controltower/landingZone:LandingZone to typescript: :2,27-38: Terraform input not yet implemented; path
    175:   1 warning: failed to convert HCL for #/resources/aws:controltower/landingZone:LandingZone to yaml: :2,27-38: Terraform input not yet implemented; path
    184:   1 warning: failed to convert HCL for #/resources/aws:ec2/launchTemplate:LaunchTemplate to csharp: :91,29-40: Terraform input not yet implemented; path
    185:   1 warning: failed to convert HCL for #/resources/aws:ec2/launchTemplate:LaunchTemplate to go: :91,29-40: Terraform input not yet implemented; path
    186:   1 warning: failed to convert HCL for #/resources/aws:ec2/launchTemplate:LaunchTemplate to java: :91,29-40: Terraform input not yet implemented; path
    187:   1 warning: failed to convert HCL for #/resources/aws:ec2/launchTemplate:LaunchTemplate to python: :91,29-40: Terraform input not yet implemented; path
    188:   1 warning: failed to convert HCL for #/resources/aws:ec2/launchTemplate:LaunchTemplate to typescript: :91,29-40: Terraform input not yet implemented; path
    189:   1 warning: failed to convert HCL for #/resources/aws:ec2/launchTemplate:LaunchTemplate to yaml: :91,29-40: Terraform input not yet implemented; path
    249:   1 warning: failed to convert HCL for #/resources/aws:opensearch/serverlessSecurityConfig:ServerlessSecurityConfig to csharp: :5,24-35: Terraform input not yet implemented; path
    250:   1 warning: failed to convert HCL for #/resources/aws:opensearch/serverlessSecurityConfig:ServerlessSecurityConfig to go: :5,24-35: Terraform input not yet implemented; path
    251:   1 warning: failed to convert HCL for #/resources/aws:opensearch/serverlessSecurityConfig:ServerlessSecurityConfig to java: :5,24-35: Terraform input not yet implemented; path
    252:   1 warning: failed to convert HCL for #/resources/aws:opensearch/serverlessSecurityConfig:ServerlessSecurityConfig to python: :5,24-35: Terraform input not yet implemented; path
    253:   1 warning: failed to convert HCL for #/resources/aws:opensearch/serverlessSecurityConfig:ServerlessSecurityConfig to typescript: :5,24-35: Terraform input not yet implemented; path
    254:   1 warning: failed to convert HCL for #/resources/aws:opensearch/serverlessSecurityConfig:ServerlessSecurityConfig to yaml: :5,24-35: Terraform input not yet implemented; path
    339:   1 warning: failed to convert HCL for #/resources/aws:transfer/certificate:Certificate to csharp: :2,31-42: Terraform input not yet implemented; path, and 2 other diagnostic(s)
    340:   1 warning: failed to convert HCL for #/resources/aws:transfer/certificate:Certificate to go: :2,31-42: Terraform input not yet implemented; path, and 2 other diagnostic(s)
    341:   1 warning: failed to convert HCL for #/resources/aws:transfer/certificate:Certificate to java: :2,31-42: Terraform input not yet implemented; path, and 2 other diagnostic(s)
    342:   1 warning: failed to convert HCL for #/resources/aws:transfer/certificate:Certificate to python: :2,31-42: Terraform input not yet implemented; path, and 2 other diagnostic(s)
    343:   1 warning: failed to convert HCL for #/resources/aws:transfer/certificate:Certificate to typescript: :2,31-42: Terraform input not yet implemented; path, and 2 other diagnostic(s)
    344:   1 warning: failed to convert HCL for #/resources/aws:transfer/certificate:Certificate to yaml: :2,31-42: Terraform input not yet implemented; path, and 2 other diagnostic(s)
    112:   1 warning: failed to convert HCL for #/resources/aws:apigateway/basePathMapping:BasePathMapping to csharp: :11,37-48: Terraform input not yet implemented; path, and 2 other diagnostic(s)
    113:   1 warning: failed to convert HCL for #/resources/aws:apigateway/basePathMapping:BasePathMapping to go: :11,37-48: Terraform input not yet implemented; path, and 2 other diagnostic(s)
    114:   1 warning: failed to convert HCL for #/resources/aws:apigateway/basePathMapping:BasePathMapping to java: :11,37-48: Terraform input not yet implemented; path, and 2 other diagnostic(s)
    115:   1 warning: failed to convert HCL for #/resources/aws:apigateway/basePathMapping:BasePathMapping to python: :11,37-48: Terraform input not yet implemented; path, and 2 other diagnostic(s)
    116:   1 warning: failed to convert HCL for #/resources/aws:apigateway/basePathMapping:BasePathMapping to typescript: :11,37-48: Terraform input not yet implemented; path, and 2 other diagnostic(s)
    117:   1 warning: failed to convert HCL for #/resources/aws:apigateway/basePathMapping:BasePathMapping to yaml: :11,37-48: Terraform input not yet implemented; path, and 2 other diagnostic(s)
    118:   1 warning: failed to convert HCL for #/resources/aws:apigateway/domainName:DomainName to csharp: :2,39-50: Terraform input not yet implemented; path, and 2 other diagnostic(s)
    119:   1 warning: failed to convert HCL for #/resources/aws:apigateway/domainName:DomainName to csharp: :5,37-48: Terraform input not yet implemented; path, and 2 other diagnostic(s)

```
  • Loading branch information
t0yv0 authored Apr 4, 2024
1 parent fe888ec commit cd590ac
Show file tree
Hide file tree
Showing 822 changed files with 7,834 additions and 5,186 deletions.
2 changes: 1 addition & 1 deletion .ci-mgmt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ plugins:
- name: std
version: "1.6.2"
- name: terraform
version: "1.0.15"
version: "1.0.16"
kind: converter
# Use `pulumi convert` for translating examples from TF to Pulumi.
pulumiConvert: 1
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ install_plugins: .pulumi/bin/pulumi
.pulumi/bin/pulumi plugin install resource random 4.8.2
.pulumi/bin/pulumi plugin install resource github 5.14.0
.pulumi/bin/pulumi plugin install resource std 1.6.2
.pulumi/bin/pulumi plugin install converter terraform 1.0.15
.pulumi/bin/pulumi plugin install converter terraform 1.0.16

lint_provider: provider
cd provider && golangci-lint run -c ../.golangci.yml
Expand Down
334 changes: 167 additions & 167 deletions provider/cmd/pulumi-resource-aws/schema.json

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions sdk/dotnet/AccessAnalyzer/Analyzer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions sdk/dotnet/Acmpca/CertificateAuthority.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions sdk/dotnet/Alb/TargetGroupAttachment.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 13 additions & 7 deletions sdk/dotnet/ApiGateway/DocumentationVersion.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/dotnet/ApiGateway/MethodResponse.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 11 additions & 5 deletions sdk/dotnet/ApiGateway/Stage.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions sdk/dotnet/AppFlow/ConnectorProfile.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions sdk/dotnet/ApplicationInsights/Application.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 13 additions & 1 deletion sdk/dotnet/Batch/ComputeEnvironment.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 11 additions & 5 deletions sdk/dotnet/Cfg/ConfigurationAggregator.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions sdk/dotnet/Cfg/ConformancePack.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 12 additions & 6 deletions sdk/dotnet/Cfg/DeliveryChannel.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 26 additions & 12 deletions sdk/dotnet/Cfg/OrganizationConformancePack.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions sdk/dotnet/Cfg/OrganizationCustomRule.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions sdk/dotnet/Cfg/OrganizationManagedRule.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cd590ac

Please sign in to comment.