Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Assume string type for unset Set/List/Map element types #182

Merged
merged 1 commit into from
Jan 3, 2022

Conversation

ulucinar
Copy link
Collaborator

@ulucinar ulucinar commented Dec 20, 2021

Description of your changes

Fixes #177

Assume that an unset Terraform List/Set/Map element schema is of string type. Please refer to #177 for more context.

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

Tested with https://github.com/crossplane-contrib/provider-jet-mongodbatlas

pkg/types/builder.go Show resolved Hide resolved
- Fixes crossplane#177

Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
@ulucinar ulucinar merged commit 9152fb5 into crossplane:main Jan 3, 2022
@ulucinar ulucinar deleted the fix-177 branch January 3, 2022 13:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CRD pipeline fails if a Terraform Schema of a Set/List/Map type does not set its Element Type
2 participants