Skip to content

Config document resource schema is missing additionalProperties true #980

@ThomasNieto

Description

@ThomasNieto

The resource section of the config document does not prevent additional properties from being added.

resources:
- name: test
  type: Microsoft.Windows/Registry
  myRandomProperty: should not be here!
  properties:
    keyPath: HKCU\test
    valueName: abc
    valueData:
     String: def
Original issue about versioning but is duplicate

Summary of the new feature / enhancement

As a user I want to be able to specify which version or version range of a resource I want to use. Then when running the configuration document if the resource version is not present error.

Proposed technical implementation details (optional)

type: owner[.group][.area]/[email protected]
name: instance_name
properties:
  propertyName: propertyValue

NuGet range syntax

type: owner[.group][.area]/name@[1.0,2.0)
name: instance_name
properties:
  propertyName: propertyValue

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions