consul/command/resource/testdata/nested_data.hcl
Dhia Ayachi b1688ad856
Run copyright after running deep-copy as part of the Makefile/CI (#18741)
* execute copyright headers after performing deep-copy generation.

* fix copyright install

* Apply suggestions from code review

Co-authored-by: Semir Patel <semir.patel@hashicorp.com>

* Apply suggestions from code review

Co-authored-by: Semir Patel <semir.patel@hashicorp.com>

* rename steps to match codegen naming

* remove copywrite install category

---------

Co-authored-by: Semir Patel <semir.patel@hashicorp.com>
2023-09-11 13:50:52 -04:00

29 lines
392 B
HCL

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
ID {
Type = gvk("mesh.v1alpha1.Upstreams")
Name = "api"
}
Data {
Workloads {
Prefixes = ["api"]
}
Upstreams = [
{
DestinationRef = {
Type = gvk("catalog.v1alpha1.Service")
Name = "db"
}
DestinationPort = "tcp"
IpPort = {
Port = 1234
}
}
]
}