Skip to content

Commit 0fb8506

Browse files
committed
add license headers
1 parent 648e9e8 commit 0fb8506

File tree

4 files changed

+67
-3
lines changed

4 files changed

+67
-3
lines changed

infra/gcp/terraform/k8s-infra-seed/iam.tf

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
Copyright 2025 The Kubernetes Authors.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
117
module "iam" {
218
source = "terraform-google-modules/iam/google//modules/organizations_iam"
319
version = "~> 8.1"
@@ -11,7 +27,6 @@ module "iam" {
1127
google_service_account.atlantis.member,
1228
1329
]
14-
1530
"roles/billing.admin" = [
1631
google_service_account.atlantis.member,
1732
@@ -25,7 +40,6 @@ module "iam" {
2540
2641
2742
]
28-
2943
"roles/resourcemanager.folderAdmin" = [
3044
3145
google_service_account.atlantis.member,
@@ -47,7 +61,6 @@ module "iam" {
4761
"roles/cloudsupport.admin" = [
4862
4963
]
50-
5164
"organizations/758905017065/roles/audit.viewer" = [
5265
5366
"serviceAccount:[email protected]"
@@ -67,5 +80,8 @@ module "iam" {
6780
"roles/monitoring.viewer" = [
6881
google_service_account.datadog.member,
6982
]
83+
"roles/securitycenter.findingsViewer" = [
84+
google_service_account.datadog.member,
85+
]
7086
}
7187
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
Copyright 2025 The Kubernetes Authors.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
117
data "google_organization" "org" {
218
domain = "kubernetes.io"
319
}

infra/gcp/terraform/k8s-infra-seed/service-accounts.tf

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
Copyright 2025 The Kubernetes Authors.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
117
resource "google_service_account" "atlantis" {
218
account_id = "atlantis"
319
display_name = "Atlantis"

infra/gcp/terraform/k8s-infra-seed/variables.tf

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
Copyright 2025 The Kubernetes Authors.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
117
variable "seed_project_id" {
218
description = "The ID of the seed project."
319
type = string

0 commit comments

Comments
 (0)