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

config: parse lifecycle block with mapstructure for weak decode #2268

Merged
merged 1 commit into from
Jun 24, 2015

Conversation

mitchellh
Copy link
Contributor

Fixes #1975

This uses mapstructure weak decode to parse values so that we can get types to not matter as much for the lifecycle flags.

This doesn't fix the aspect of #1975 where we don't validate that interpolations aren't in these flags, but the end result is still the same for that, and the type error is clearer from mapstructure.

@phinze
Copy link
Contributor

phinze commented Jun 8, 2015

LGTM

@mitchellh mitchellh merged commit aa1e66c into master Jun 24, 2015
@mitchellh mitchellh deleted the b-prevent-destroy-type branch June 24, 2015 05:30
@ghost
Copy link

ghost commented May 2, 2020

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 May 2, 2020
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.

prevent_destroy set in var-file causes unknown type ValueTypeString
2 participants