Open punasusi opened 2 years ago
I can confirm this bug. Creating a catalog item doesn't work.
The scope attribute has a default value in terraform-provider-rancher2
(see docs), crossplane/terrajet has no support for default values atm, so you have to set it explicitly:
spec:
forProvider:
url: https://www.k8gb.io
scope: global
What happened?
Installed crossplane, and then rancher providers, following the /examples yaml, adding the api_url tried to deploy the catalog object, and got an error:
Warning CannotObserveExternalResource catalog/hello-crossplane cannot run refresh: refresh failed: [ERROR] Id nor scope can't be nil: : File name: main.tf.json
How can we reproduce it?
clean install in local kubernetes, follow the /examples yaml files
What environment did it happen in?
Crossplane version:
Provider version: crossplane/provider-jet-rancher:v0.1.0