upbound / provider-terraform

A Crossplane provider for Terraform
https://marketplace.upbound.io/providers/upbound/provider-terraform/
Apache License 2.0
150 stars 59 forks source link

providerconfigs.tf.upbound.io missing when doing up uxp install after uninstall #203

Closed danielkimuipath closed 1 year ago

danielkimuipath commented 1 year ago

How can we reproduce it?

After uninstalling up uxp component, and if you do up uxp install again after cleaning up CRD, providerconfigs.tf.upbound.io is not getting installed.

I believe up uxp install should install providerconfigs.tf.upbound.io crd along with other cards. This gets installed the first up uxp install command, but somehow, it does not get installed in the second time after cleaning up CRDs. Is this expected behavior?

compositeresourcedefinitions.apiextensions.crossplane.io   2023-10-19T00:26:30Z
compositionrevisions.apiextensions.crossplane.io           2023-10-19T00:26:30Z
compositions.apiextensions.crossplane.io                   2023-10-19T00:26:30Z
configurationrevisions.pkg.crossplane.io                   2023-10-19T00:26:30Z
configurations.pkg.crossplane.io                           2023-10-19T00:26:30Z
controllerconfigs.pkg.crossplane.io                        2023-10-19T00:26:30Z
environmentconfigs.apiextensions.crossplane.io             2023-10-19T00:26:30Z
locks.pkg.crossplane.io                                    2023-10-19T00:26:30Z
providerrevisions.pkg.crossplane.io                        2023-10-19T00:26:30Z
providers.pkg.crossplane.io                                2023-10-19T00:26:30Z
storeconfigs.secrets.crossplane.io                         2023-10-19T00:26:31Z
usages.apiextensions.crossplane.io                         2023-10-19T00:26:30Z
 k get crd | grep provider
providerrevisions.pkg.crossplane.io                        2023-10-19T00:26:30Z
providers.pkg.crossplane.io                                2023-10-19T00:26:30Z
danielkimuipath commented 1 year ago

This is working as expected; I was calling a wong step to check CRD before the installation. In the guideline, it asks to install terraform provider first. If you do it, this won't cause the issue. I will close the issue.