Skip to content

chore: update terraform-provider-coder to v0.6.21 #6736

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

Merged
merged 1 commit into from
Mar 22, 2023

Conversation

mtojek
Copy link
Member

@mtojek mtojek commented Mar 22, 2023

Related: #6734

Screenshot 2023-03-22 at 18 46 20

This PR bumps up the dependency on terraform-provider-coder, so that legacy_variable_name is exposed.

It can be tested with:

variable "security_groups" {
  type = list(string)
  default = [
    "Web Server Security Group",
    "Database Security Group",
    "Backend Security Group"
  ]
}

data "coder_parameter" "security_groups" {
  name        = "Security Groups 2"
  type        = "list(string)"
  description = "via old Terraform variable"
  mutable     = true

  legacy_variable      = jsonencode(var.security_groups)
  legacy_variable_name = "security_groups"
}

@mtojek mtojek self-assigned this Mar 22, 2023
@mtojek mtojek marked this pull request as ready for review March 22, 2023 17:48
@mtojek mtojek enabled auto-merge (squash) March 22, 2023 17:54
@mtojek mtojek merged commit f1d7809 into coder:main Mar 22, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Mar 22, 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