Skip to content

Unknown property 'url' for type 'VaultConfig' vscode-concourse(YamlSchemaProblem) #1534

Closed

Description

@cluedtke

Describe the bug
concourse-language-server incorrectly defines uri, should instead be url according to the docs: https://concourse-ci.org/vars.html#schema.var_source

I know var_sources is flagged as "experimental", and uri may have been used in the past, but I've been using url without issue for the past year.

I'd be happy to raise a PR if you agree with changing uri to url.

To Reproduce
Define a vault var_source type, with a VaultConfig that includes the correct field, url. This gives an error:

Unknown property 'url' for type 'VaultConfig'vscode-concourse' (YamlSchemaProblem)

Sample

var_sources:
  - name: vault-aws-engine-account
    type: vault
    config:
      url: https://my-vault-server.io
      path_prefix: aws
      auth_backend: approle
      auth_params:
        role_id: concourse-access-role_id
        secret_id: concourse-access-secret_id

Activity

  1. added
    for: eclipse
    for: vscode
    and removed on Apr 8, 2025
  2. added this to the 4.30.0.RELEASE milestone on Apr 8, 2025
  3. BoykoAlex commented on Apr 16, 2025

    @BoykoAlex
    Contributor

    Fixed via deab69a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

for: eclipsefor: vscodetheme: concourse-supporttype: bug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions