crossplane-contrib / provider-jet-aws

AWS Provider for Crossplane that is built with Terrajet.
https://crossplane.io
Apache License 2.0
37 stars 30 forks source link

Fix controller environment #178

Closed turkenh closed 2 years ago

turkenh commented 2 years ago

Description of your changes

Currently installations from master branch fails with the following logs:

crossplane-provider: error: required flag --terraform-version not provided, try --help

This PR fixes this issue by passing the required environment to the controller at runtime. It also set DOCKER_REGISTRY only if not set to be able to test locally built image.

As reported by a community member on slack.

I have:

How has this code been tested

Installed the controller using a provider image from this PR.