diff --git a/.ci-mgmt.yaml b/.ci-mgmt.yaml index 4aae8d5..e5c1db5 100644 --- a/.ci-mgmt.yaml +++ b/.ci-mgmt.yaml @@ -7,6 +7,7 @@ env: makeTemplate: bridged team: ecosystem pulumiConvert: 1 +registryDocs: true plugins: - name: terraform version: "1.0.16" diff --git a/Makefile b/Makefile index 78143e4..71dd0a5 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,7 @@ development: install_plugins provider build_sdks install_sdks build: install_plugins provider build_sdks install_sdks -build_sdks: build_nodejs build_python build_dotnet build_go build_java +build_sdks: build_nodejs build_python build_dotnet build_go build_java build_registry_docs install_go_sdk: @@ -96,6 +96,10 @@ build_python: upstream cd ./bin && \ ../venv/bin/python -m build . +# Run the bridge's registry-docs command to generated the content of the installation docs/ folder at provider repo root +build_registry_docs: + $(WORKING_DIR)/bin/$(TFGEN) registry-docs --out $(WORKING_DIR)/docs + clean: rm -rf sdk/{dotnet,nodejs,go,python} diff --git a/docs/_index.md b/docs/_index.md index b7d7cd5..558f0d2 100644 --- a/docs/_index.md +++ b/docs/_index.md @@ -12,6 +12,7 @@ The dnsimple provider is available as a package in all Pulumi languages: * Go: [`github.com/pulumi/pulumi-dnsimple/sdk/v4/go/dnsimple`](https://github.com/pulumi/pulumi-dnsimple) * .NET: [`Pulumi.Dnsimple`](https://www.nuget.org/packages/Pulumi.Dnsimple) * Java: [`com.pulumi/dnsimple`](https://central.sonatype.com/artifact/com.pulumi/dnsimple) +## Overview The DNSimple provider is used to interact with the resources supported by DNSimple. The provider needs to be configured with the proper credentials before it can be used. diff --git a/provider/resources.go b/provider/resources.go index 45d4a50..a8b5756 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -26,6 +26,7 @@ import ( pfbridge "github.com/pulumi/pulumi-terraform-bridge/pf/tfbridge" "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge" + "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge/info" tfbridgetokens "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge/tokens" "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfgen" shim "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim" @@ -159,6 +160,7 @@ var skipHelpfulLinksSection = tfbridge.DocsEdit{ return headerText == "Helpful Links" }) }, + Phase: info.PostCodeTranslation, } // Removes a video link