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

fix(lib): Module references to providers synthesizes array instead of map #933

Merged
merged 3 commits into from Sep 2, 2021

Conversation

marekmoscichowski
Copy link
Contributor

closes #901

I've changed snapshots to match map instead of list and changed the implementation to match.

If I understand correctly multiple providers test was invalid. Terraform can't pass multiple providers with the same key. Especially when we need to produce a map. I introduced an error throw when providers are not unique.

@hashicorp-cla
Copy link

hashicorp-cla commented Aug 26, 2021

CLA assistant check
All committers have signed the CLA.

@ansgarm ansgarm changed the title Module references to providers synthesizes array instead of map fix(lib): Module references to providers synthesizes array instead of map Aug 26, 2021
Copy link
Collaborator

@jsteinich jsteinich left a comment

Choose a reason for hiding this comment

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

Thanks for the PR. Just a couple adjustments and it should be good to go. Also, make sure to sign the CLA.

packages/cdktf/lib/terraform-module.ts Outdated Show resolved Hide resolved
@skorfmann
Copy link
Contributor

Also, please make sure to sign the CLA as stated in this comment

@github-actions
Copy link
Contributor

github-actions bot commented Dec 9, 2022

I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 9, 2022
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.

Module references to providers synthesizes array instead of map
5 participants