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

Skip terraform region validation for resources without region #115

Closed turkenh closed 2 years ago

turkenh commented 2 years ago

Description of your changes

Some resources, like iam group, do not have a notion of region hence we have no region in their schema. However, terraform still attempts validating region in provider config and does not like both empty string or not setting it at all. We need to skip region validation in this case.

Fixes #112

I have:

How has this code been tested

Create a user using the example Delete user

github-actions[bot] commented 2 years ago

Successfully created backport PR #116 for release-0.2.

luebken commented 2 years ago

LGTM