Skip to content

Commit cea6770

Browse files
committed
fix: resolve formatting issues for CI validation
1 parent dc2307e commit cea6770

File tree

2 files changed

+3
-25
lines changed

2 files changed

+3
-25
lines changed

registry/coder/modules/jetbrains/main.tf

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -157,13 +157,7 @@ variable "ide_config" {
157157
condition = length(var.ide_config) > 0
158158
error_message = "The ide_config must not be empty."
159159
}
160-
# ide_config must be a superset of var.. options
161-
validation {
162-
condition = alltrue([
163-
for code in var.options : contains(keys(var.ide_config), code)
164-
])
165-
error_message = "The ide_config must be a superset of var.options."
166-
}
160+
167161
}
168162

169163
locals {

registry/coder/modules/vault-jwt/README.md

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -108,26 +108,10 @@ resource "jwt_signed_token" "vault" {
108108
iss = "https://code.example.com"
109109
sub = "${data.coder_workspace.me.id}"
110110
aud = "https://vault.example.com"
111-
iat = provider::time::rfc3339_parse(plantimestamp()).unix
111+
iat = time_static.now.unix
112112
# Uncomment to set an expiry on the JWT token(default 3600 seconds).
113113
# workspace will need to be restarted to generate a new token if it expires
114-
#exp = provider::time::rfc3339_parse(timeadd(timestamp(), 3600)).unix agent = coder_agent.main.id
115-
provisioner = data.coder_provisioner.main.id
116-
provisioner_arch = data.coder_provisioner.main.arch
117-
provisioner_os = data.coder_provisioner.main.os
118-
119-
workspace = data.coder_workspace.me.id
120-
workspace_url = data.coder_workspace.me.access_url
121-
workspace_port = data.coder_workspace.me.access_port
122-
workspace_name = data.coder_workspace.me.name
123-
template = data.coder_workspace.me.template_id
124-
template_name = data.coder_workspace.me.template_name
125-
template_version = data.coder_workspace.me.template_version
126-
owner = data.coder_workspace_owner.me.id
127-
owner_name = data.coder_workspace_owner.me.name
128-
owner_email = data.coder_workspace_owner.me.email
129-
owner_login_type = data.coder_workspace_owner.me.login_type
130-
owner_groups = data.coder_workspace_owner.me.groups
114+
#exp = time_static.expiry.unix
131115
})
132116
}
133117

0 commit comments

Comments
 (0)