From c3a94c13eaa909c3b031b889a575cdf6951142b5 Mon Sep 17 00:00:00 2001 From: Umit Demirtas Date: Thu, 21 Sep 2023 13:00:09 +0300 Subject: [PATCH] updated provider-metadata.yaml with fixing readme files in work directory --- apis/generate.go | 3 +++ config/provider-metadata.yaml | 10 +++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/apis/generate.go b/apis/generate.go index 9d71ca2..7dcd77d 100644 --- a/apis/generate.go +++ b/apis/generate.go @@ -18,6 +18,9 @@ Copyright 2021 Upbound Inc. //go:generate bash -c "find ../internal/controller -type d -empty -delete" //go:generate rm -rf ../examples-generated +// Generate documentation from Terraform docs. +//go:generate go run github.com/upbound/upjet/cmd/scraper -n ${TERRAFORM_PROVIDER_SOURCE} -r ../.work/${TERRAFORM_PROVIDER_SOURCE}/${TERRAFORM_DOCS_PATH} -o ../config/provider-metadata.yaml + // Run Upjet generator //go:generate go run ../cmd/generator/main.go .. diff --git a/config/provider-metadata.yaml b/config/provider-metadata.yaml index 6e1706f..1e6de66 100644 --- a/config/provider-metadata.yaml +++ b/config/provider-metadata.yaml @@ -1,9 +1,9 @@ name: vmware/vra resources: - null_resource Resource - terraform-provider-null: - subCategory: '' - description: The null_resource resource implements the standard resource lifecycle but takes no further action. The triggers argument allows specifying an arbitrary set of values that, when changed, will cause the resource to be replaced. - name: null_resource Resource - terraform-provider-null - title: null_resource Resource - terraform-provider-null + VMware vRA Resource - terraform-provider-vra: + subCategory: VMware vRA + description: Official documentation https://registry.terraform.io/providers/vmware/vra/latest/docs + name: VMware vRA Resource - terraform-provider-vra + title: VMware vRA Resource - terraform-provider-vra argumentDocs: {} importStatements: []