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

feat: support list(string) as coder_parameter #6618

Merged
merged 2 commits into from
Mar 16, 2023

Conversation

mtojek
Copy link
Member

@mtojek mtojek commented Mar 15, 2023

Related: #6582

This PR enables support for list(string) as coder_parameter's type (terraform-provider-coder: 0.6.20). In the follow-up, I will see if CLI requires improvements.

data "coder_parameter" "security_groups" {
  name        = "Security groups"
  icon        = "/icon/aws.png"
  type        = "list(string)"
  description = "Select appropriate security groups."
  mutable     = true
  default     = jsonencode([
    "Web Server Security Group",
    "Database Security Group",
    "Backend Security Group"
  ])
}

@mtojek mtojek self-assigned this Mar 15, 2023
@mtojek mtojek marked this pull request as ready for review March 16, 2023 09:57
@mtojek mtojek requested a review from mafredri March 16, 2023 09:57
@mtojek mtojek merged commit a7c734c into coder:main Mar 16, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Mar 16, 2023
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.

2 participants