Skip to content

Commit cb0eb59

Browse files
authored
chore: Add Licenses for 3rd party test modules [CONTP-790] (#18)
* License command * Licenses for tests * Test typo fix
1 parent dc23b05 commit cb0eb59

File tree

3 files changed

+43
-2
lines changed

3 files changed

+43
-2
lines changed

LICENSE-3rdparty.csv

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
"component","origin","license","copyright"
2+
"com.github.DataDog/terraform-aws-ecs-datadog","git+https://github.com/DataDog/terraform-aws-ecs-datadog","['Apache-2.0']","['Datadog, Inc.']"
3+
"github.com/DataDog/terraform-ecs-datadog","https://github.com/DataDog/terraform-ecs-datadog","['Apache-2.0']","['Datadog, Inc.']"
4+
"github.com/agext/levenshtein","https://github.com/agext/levenshtein","['Apache-2.0']","['ALRUX Inc.']"
5+
"github.com/apparentlymart/go-textseg/v15","https://github.com/apparentlymart/go-textseg/tree/master/v15","['(MIT', 'Apache-2.0)', 'LicenseRef-scancode-unicode']","['Couchbase, Inc.', 'Martin Atkins', 'Unicode, Inc.']"
6+
"github.com/aws/aws-sdk-go-v2","https://github.com/aws/aws-sdk-go-v2","['Apache-2.0']","['Amazon.com, Inc. or its affiliates', 'Stripe, Inc.', 'The Go Authors']"
7+
"github.com/aws/aws-sdk-go-v2/service/ecs","https://github.com/aws/aws-sdk-go-v2/tree/main/service/ecs","['Apache-2.0']","['Amazon.com, Inc. or its affiliates', 'Stripe, Inc.']"
8+
"github.com/aws/smithy-go","https://github.com/aws/smithy-go","['Apache-2.0']","['Amazon.com, Inc. or its affiliates', 'The Go Authors']"
9+
"github.com/bgentry/go-netrc","https://github.com/bgentry/go-netrc","['MIT']","['Blake Gentry', 'Fazlul Shahriar . Newer']"
10+
"github.com/davecgh/go-spew","https://github.com/davecgh/go-spew","['ISC']","['Dave Collins']"
11+
"github.com/gruntwork-io/terratest","https://github.com/gruntwork-io/terratest","['Apache-2.0']","['Gruntwork, Inc.']"
12+
"github.com/hashicorp/errwrap","https://github.com/hashicorp/errwrap","['MPL-2.0']","['HashiCorp, Inc.']"
13+
"github.com/hashicorp/go-cleanhttp","https://github.com/hashicorp/go-cleanhttp","['MPL-2.0']","['HashiCorp, Inc.']"
14+
"github.com/hashicorp/go-getter/v2","https://github.com/hashicorp/go-getter/tree/main/v2","['MPL-2.0']","['hashicorp']"
15+
"github.com/hashicorp/go-multierror","https://github.com/hashicorp/go-multierror","['MPL-2.0']","['HashiCorp, Inc.']"
16+
"github.com/hashicorp/go-safetemp","https://github.com/hashicorp/go-safetemp","['MPL-2.0']","['HashiCorp, Inc.']"
17+
"github.com/hashicorp/go-version","https://github.com/hashicorp/go-version","['MPL-2.0']","['HashiCorp, Inc.']"
18+
"github.com/hashicorp/hcl/v2","https://github.com/hashicorp/hcl/tree/main/v2","['MPL-2.0']","['HashiCorp, Inc.']"
19+
"github.com/hashicorp/terraform-json","https://github.com/hashicorp/terraform-json","['MPL-2.0']","['HashiCorp, Inc.']"
20+
"github.com/jinzhu/copier","https://github.com/jinzhu/copier","['MIT']","['Jinzhu']"
21+
"github.com/klauspost/compress","https://github.com/klauspost/compress","['Apache-2.0', 'BSD-3-Clause', 'MIT']","['Caleb Spare', 'Klaus Post', 'Pierre Curto', 'The Go Authors', 'The New York Times Company', 'The Snappy-Go Authors', 'The filepathx']"
22+
"github.com/mattn/go-zglob","https://github.com/mattn/go-zglob","['MIT']","['Yasuhiro Matsumoto']"
23+
"github.com/mitchellh/go-homedir","https://github.com/mitchellh/go-homedir","['MIT']","['Mitchell Hashimoto']"
24+
"github.com/mitchellh/go-testing-interface","https://github.com/mitchellh/go-testing-interface","['MIT']","['Mitchell Hashimoto']"
25+
"github.com/mitchellh/go-wordwrap","https://github.com/mitchellh/go-wordwrap","['MIT']","['Mitchell Hashimoto']"
26+
"github.com/pmezard/go-difflib","https://github.com/pmezard/go-difflib","['BSD-3-Clause']","['Patrick Mezard']"
27+
"github.com/stretchr/testify","https://github.com/stretchr/testify","['MIT']","['Mat Ryer, Tyler Bunnell and contributors']"
28+
"github.com/tmccombs/hcl2json","https://github.com/tmccombs/hcl2json","['Apache-2.0']","['tmccombs']"
29+
"github.com/ulikunitz/xz","https://github.com/ulikunitz/xz","['BSD-3-Clause']","['Ulrich Kunitz']"
30+
"github.com/zclconf/go-cty","https://github.com/zclconf/go-cty","['MIT']","['Martin Atkins']"
31+
"golang.org/x/crypto","https://golang.org/x/crypto","['BSD-3-Clause']","['The Go Authors']"
32+
"golang.org/x/mod","golang.org/x/mod","[]","[]"
33+
"golang.org/x/net","https://golang.org/x/net","['BSD-3-Clause']","['The Go Authors']"
34+
"golang.org/x/sync","golang.org/x/sync","[]","[]"
35+
"golang.org/x/sys","golang.org/x/sys","[]","[]"
36+
"golang.org/x/text","https://golang.org/x/text","['BSD-3-Clause']","['The Go Authors']"
37+
"golang.org/x/tools","golang.org/x/tools","[]","[]"
38+
"gopkg.in/yaml.v3","https://gopkg.in/yaml.v3","['(MIT', 'Apache-2.0)', 'MIT']","['Canonical Ltd', 'Canonical Ltd.', 'Kirill Simonov']"
39+

makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
fmt:
2-
terraform fmt -recursive .
2+
terraform fmt -recursive .
3+
license:
4+
dd-license-attribution https://github.com/datadog/terraform-aws-ecs-datadog/ --no-gh-auth > LICENSE-3rdparty.csv

tests/all_dd_inputs_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,5 @@ func (s *ECSFargateSuite) TestAllDDInputs() {
128128
s.True(found, "Container datadog-dogstatsd-app not found in definitions")
129129
s.Equal("ghcr.io/datadog/apps-dogstatsd:main", *dogstatsdAppContainer.Image)
130130
AssertEnvVars(s.T(), dogstatsdAppContainer, expectedApmDsdEnvVars)
131-
s.Nil(apmAppContainer.LinuxParameters, "LinuxParameters should be nil for datadog-apm-app")
131+
s.Nil(dogstatsdAppContainer.LinuxParameters, "LinuxParameters should be nil for datadog-dogstatsd-app")
132132
}

0 commit comments

Comments
 (0)