Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helper/schema: don't skip deprecation check during validation #22262

Merged
merged 1 commit into from
Jul 30, 2019

Conversation

mildwonkey
Copy link
Contributor

If an attribute was not wholly known, helper/schema was skipping the
validateType function which (among other things) returned deprecation
messages. This PR checks for deprecation before returning when skipping
validateType.

Fixes #22255

If an attribute was not wholly known, helper/schema was skipping the
`validateType` function which (among other things) returned deprecation
messages. This PR checks for deprecation before returning when skipping
validateType.
@mildwonkey mildwonkey requested a review from a team July 30, 2019 20:04
@apparentlymart apparentlymart requested a review from a team July 30, 2019 20:13
Copy link
Contributor

@appilon appilon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable to me

@teamterraform teamterraform merged commit 176f790 into master Jul 30, 2019
@mildwonkey mildwonkey deleted the mildwonkey/b-deprecation-warnings branch July 30, 2019 20:28
@t3mi
Copy link

t3mi commented Aug 2, 2019

Sorry guys but the bug still exists in 0.12.6. Please check.

@jbardin
Copy link
Member

jbardin commented Aug 2, 2019

Hi @t3mi,

This is a change to the provider sdk, not to the terraform cli, so it will require a new release from the providers that require it.

@t3mi
Copy link

t3mi commented Aug 2, 2019

@jbardin thank you for clarification. Will wait for the provider release then.

@ghost
Copy link

ghost commented Aug 30, 2019

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Aug 30, 2019
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.

v0.12 - terraform validate and terraform plan doesn't print deprecation attribute warning message
5 participants