Skip to content

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