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

Commit

Permalink
Fix apiversion of branch example
Browse files Browse the repository at this point in the history
  • Loading branch information
sergenyalcin authored Nov 19, 2021
1 parent cf45076 commit 827ffba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/generating-a-provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ be quite similar for any other Terraform provider.
// we need to override the default group that terrajet generated for
// this resource, which would be "github"
r.Group = "repository"
r.ShortGroup = "repository"
})
}
EOF
Expand All @@ -186,7 +186,7 @@ be quite similar for any other Terraform provider.
// we need to override the default group that terrajet generated for
// this resource, which would be "github"
r.Group = "branch"
r.ShortGroup = "branch"
// Identifier for this resource is assigned by the provider. In other
// words it is not simply the name of the resource.
Expand Down Expand Up @@ -304,7 +304,7 @@ Now let's test our generated resources.
```bash
cat <<EOF > examples/branch/branch.yaml
apiVersion: branch.github.provider-jet.crossplane.io/v1alpha1
apiVersion: branch.github.jet.crossplane.io/v1alpha1
kind: Branch
metadata:
name: hello-terrajet
Expand Down Expand Up @@ -392,4 +392,4 @@ Now let's test our generated resources.
[fork]: https://github.com/turkenh/terraform-provider-github
[terraform-provider-github]: https://github.com/integrations/terraform-provider-github
[terraform-plugin-sdk]: https://github.com/hashicorp/terraform-plugin-sdk
[this issue]: https://github.com/integrations/terraform-provider-github/pull/961
[this issue]: https://github.com/integrations/terraform-provider-github/pull/961

0 comments on commit 827ffba

Please sign in to comment.