Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #242 from turkenh/fix-guide
Browse files Browse the repository at this point in the history
Add step to fetch build submodule to provider generation guide
  • Loading branch information
muvaf authored Feb 23, 2022
2 parents c93fdfd + 3f499ee commit 2842250
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/generating-a-provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ be quite similar for any other Terraform provider.
1. Generate a GitHub repository for the Crossplane provider by hitting the
"**Use this template**" button in [provider-jet-template] repository.
2. Clone the repository to your local and `cd` into the repository directory.
Fetch the [upbound/build] submodule by running the following:

```bash
make submodules
```

3. Replace `template` with your provider name.

1. Export `ProviderName`:
Expand Down Expand Up @@ -338,6 +344,7 @@ Now let's test our generated resources.
[Terraform GitHub provider]: https://registry.terraform.io/providers/integrations/github/latest/docs
[provider-jet-template]: https://github.com/crossplane-contrib/provider-jet-template
[upbound/build]: https://github.com/upbound/build
[Terraform documentation for provider configuration]: https://registry.terraform.io/providers/integrations/github/latest/docs#argument-reference
[github_repository]: https://registry.terraform.io/providers/integrations/github/latest/docs/resources/repository
[github_branch]: https://registry.terraform.io/providers/integrations/github/latest/docs/resources/branch
Expand Down

0 comments on commit 2842250

Please sign in to comment.