{{!
  Copyright (c) HashiCorp, Inc.
  SPDX-License-Identifier: BUSL-1.1
~}}

{{#each this.attributes.files as |file|}}
  <MetadataKv
    @prefix={{file.prefix}}
    @key={{file.name}}
    @value={{file.variable.value}}
    @editable={{@editable}}
    @onKVSave={{@onKVSave}}
    @copyable={{@copyable}}
  />
{{/each}}
{{#each-in this.attributes.children as |key value|}}
  <AttributesSection
    @attributes={{value}}
    @key={{key}}
    @value={{value}}
    @editable={{@editable}}
    @onKVSave={{@onKVSave}}
    @copyable={{@copyable}}
  />
{{/each-in}}
