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

Fixed variable types in Terraform code #150

Merged
merged 15 commits into from
Nov 22, 2022
Merged

Fixed variable types in Terraform code #150

merged 15 commits into from
Nov 22, 2022

Conversation

mikouaj
Copy link
Member

@mikouaj mikouaj commented Nov 14, 2022

Changed variable types from map(any) to object with optional attributes of different types.
Without this change, Terraform was not allowing different types of attributes in one map.

i.e. the below was not supported and now it is:
(mixing bool with list(string))

discovery {
  enabled = true
  projects = ["project-one", "project-two"]
}

.gitignore Show resolved Hide resolved
@ewojtach ewojtach self-requested a review November 22, 2022 13:28
@mikouaj mikouaj merged commit 5c8f882 into main Nov 22, 2022
@mikouaj mikouaj deleted the tf-fixes branch November 22, 2022 13:31
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.

3 participants