Skip to content

Don't pass variables to the modules that don't declare them - #40

Merged
btromanova merged 4 commits into
masterfrom
tr/support-terraform012
Sep 19, 2019
Merged

btromanova merged 4 commits into
masterfrom
tr/support-terraform012

Conversation

@btromanova

Copy link
Copy Markdown
Contributor

This fixes issue #39.

Terraform 0.12 returns an error, if we try to pass a variable to the module that didn't declare it.

Looks like there was a bug in the logic of binding variables that user provided to the arguments defined in the config.

This PR fixes it and adds a test for it.

@btromanova
btromanova requested a review from DragonZ August 13, 2019 07:06
@CLAassistant

CLAassistant commented Aug 13, 2019 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@DragonZ DragonZ left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

@dansimau dansimau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@btromanova
btromanova merged commit be238b2 into master Sep 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants