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

Eval provider attributes #393

Merged
merged 1 commit into from
Aug 21, 2019
Merged

Eval provider attributes #393

merged 1 commit into from
Aug 21, 2019

Conversation

wata727
Copy link
Member

@wata727 wata727 commented Aug 20, 2019

Fixes #392
See also #361

There is a bug that returned an error when using a variable in the provider block attributes.

This pull request introduces ProviderConfig that contains the evaluation context. the ProviderConfig can be converted into AwsCredentials and initializes the client based on the credentials merged with TFLint's config.

@wata727 wata727 merged commit a80dc75 into master Aug 21, 2019
@wata727 wata727 deleted the eval_provider_block branch August 21, 2019 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

v0.10.0 in deep mode reports Variables not allowed in provider aws block
1 participant