Comments (2)
I copied the provider-tf-aws
.github
folder into my project and needed some additional changes. crossplane-contrib/provider-tf-equinix-metal#1
I ran into problems with a deprecated resource in my TF provider and needed to Skip it. Before I skipped it, the make
generate
, reviewable
, and check-diff
commands resulted in differing changes.
Once published, I ran into another set of problems. The TERRAFORM_PROVIDER_VERSION and TERRAFORM_PROVIDER_SOURCE variables did not make it to the deployment.
I attempted to add these via a ControllerConfig after the install, but the environment variables were not picked up and I needed to add the argument equivalents.
from provider-jet-template.
If goimports
is not preinstalled (typical in CI/CD), the build will fail:
$ make generate
21:33:26 [ .. ] verify dependencies have expected content
all modules verified
21:33:28 [ OK ] go modules dependencies verified
21:33:28 [ .. ] go generate darwin_amd64
Skipping resource metal_volume_attachment because it is in SkipList
Skipping resource metal_volume because it is in SkipList
panic: cannot run goimports for apis folder: bash: goimports: command not found
: exit status 127
goroutine 1 [running]:
github.com/crossplane-contrib/terrajet/pkg/pipeline.Run(0xc0001a4180, {0xc000b021c0, 0x2c})
/Users/marques/src/provider-tf-equinix-metal/.work/pkg/pkg/mod/github.com/crossplane-contrib/[email protected]/pkg/pipeline/run.go:108 +0xa79
main.main()
/Users/marques/src/provider-tf-equinix-metal/cmd/generator/main.go:41 +0x6d
exit status 2
apis/generate.go:32: running "go": exit status 1
generate: open /Users/marques/src/provider-tf-equinix-metal/apis/bgp/v1alpha1/zz_generated.deepcopy.go: no such file or directory
21:33:37 [FAIL]
make[1]: *** [go.generate] Error 1
make: *** [generate] Error 2
from provider-jet-template.
Related Issues (13)
- Remove crds.clean target
- Template Guide doesnt work HOT 33
- Where is this name field coming from? HOT 3
- README needs to be updated - Makefile image and push targets does not exist HOT 6
- Custom provider source repo
- bug in file cluster/images/provider-jet-github-controller/Dockerfile HOT 2
- bug in file cluster/images/provider-jet-github-controller/Dockerfile
- add support for golang 1.18 and 1.19 HOT 2
- unable to initialize provider connection
- Update terrajet version to v0.4.2
- Update documentation and provider-jet-template repo to cover creating a crossplane provider from a CUSTOM Terraform provider
- Upgrade terrajet version to 0.4.2 in provider-jet-template
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from provider-jet-template.