From 48cfef86dd366ef41fae1d9b302d43f7d87e1952 Mon Sep 17 00:00:00 2001 From: Julio Castillo Date: Tue, 21 Sep 2021 15:02:23 +0200 Subject: [PATCH] Fix boilerplate --- .../delegated-role-grants/audit.py | 14 ++++++++++++++ cloud-operations/delegated-role-grants/main.tf | 18 +++++++++++++++--- .../delegated-role-grants/outputs.tf | 18 +++++++++++++++--- .../delegated-role-grants/variables.tf | 18 +++++++++++++++--- 4 files changed, 59 insertions(+), 9 deletions(-) diff --git a/cloud-operations/delegated-role-grants/audit.py b/cloud-operations/delegated-role-grants/audit.py index e6b724535..e32b71b12 100644 --- a/cloud-operations/delegated-role-grants/audit.py +++ b/cloud-operations/delegated-role-grants/audit.py @@ -1,3 +1,17 @@ +# Copyright 2021 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import click from googleapiclient.errors import Error from googleapiclient import discovery diff --git a/cloud-operations/delegated-role-grants/main.tf b/cloud-operations/delegated-role-grants/main.tf index 94098be38..28ca76d9c 100644 --- a/cloud-operations/delegated-role-grants/main.tf +++ b/cloud-operations/delegated-role-grants/main.tf @@ -1,6 +1,18 @@ -# Copyright 2021 Google LLC. This software is provided as is, without -# warranty or representation for any use or purpose. Your use of it is -# subject to your agreement with Google. +/** + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ locals { # this whole section builds a set of delegated role grants IAM diff --git a/cloud-operations/delegated-role-grants/outputs.tf b/cloud-operations/delegated-role-grants/outputs.tf index 27b25ba77..d28a337a8 100644 --- a/cloud-operations/delegated-role-grants/outputs.tf +++ b/cloud-operations/delegated-role-grants/outputs.tf @@ -1,3 +1,15 @@ -# Copyright 2021 Google LLC. This software is provided as is, without -# warranty or representation for any use or purpose. Your use of it is -# subject to your agreement with Google. +/** + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ diff --git a/cloud-operations/delegated-role-grants/variables.tf b/cloud-operations/delegated-role-grants/variables.tf index e4ef37f8f..a616f9ab1 100644 --- a/cloud-operations/delegated-role-grants/variables.tf +++ b/cloud-operations/delegated-role-grants/variables.tf @@ -1,6 +1,18 @@ -# Copyright 2021 Google LLC. This software is provided as is, without -# warranty or representation for any use or purpose. Your use of it is -# subject to your agreement with Google. +/** + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ variable "delegated_role_grants" { description = "List of roles that project administrators will be allowed to grant/revoke."