diff --git a/Makefile b/Makefile index 6e7ee67..35dc0e2 100644 --- a/Makefile +++ b/Makefile @@ -52,7 +52,7 @@ lint: license: ( [ -f $(GOBIN)/addlicense ] || go install github.com/google/addlicense@v1.1.1) - $(GOBIN)/addlicense -y 2023 -l apache * + $(GOBIN)/addlicense -y 2024 -l apache * license-check: ( [ -f $(GOBIN)/go-licenses ] || go install github.com/google/go-licenses@v1.2.0) diff --git a/examples/terraform/wordpress/main.tf b/examples/terraform/wordpress/main.tf index 678f386..f80713d 100644 --- a/examples/terraform/wordpress/main.tf +++ b/examples/terraform/wordpress/main.tf @@ -1,3 +1,17 @@ +# Copyright 2024 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. + provider "google" { project = var.project_id } diff --git a/examples/terraform/wordpress/metadata.display.yaml b/examples/terraform/wordpress/metadata.display.yaml index bd01ee5..5b013b8 100644 --- a/examples/terraform/wordpress/metadata.display.yaml +++ b/examples/terraform/wordpress/metadata.display.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 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. + apiVersion: blueprints.cloud.google.com/v1alpha1 kind: BlueprintMetadata metadata: diff --git a/examples/terraform/wordpress/metadata.yaml b/examples/terraform/wordpress/metadata.yaml index efd364b..7416c53 100644 --- a/examples/terraform/wordpress/metadata.yaml +++ b/examples/terraform/wordpress/metadata.yaml @@ -1,3 +1,17 @@ +# Copyright 2024 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. + apiVersion: blueprints.cloud.google.com/v1alpha1 kind: BlueprintMetadata metadata: diff --git a/examples/terraform/wordpress/outputs.tf b/examples/terraform/wordpress/outputs.tf index cfef505..8065511 100644 --- a/examples/terraform/wordpress/outputs.tf +++ b/examples/terraform/wordpress/outputs.tf @@ -1,3 +1,17 @@ +# Copyright 2024 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 { network_interface = google_compute_instance.instance.network_interface[0] instance_nat_ip = length(local.network_interface.access_config) > 0 ? local.network_interface.access_config[0].nat_ip : null diff --git a/examples/terraform/wordpress/variables.tf b/examples/terraform/wordpress/variables.tf index acdc98e..3cf50de 100644 --- a/examples/terraform/wordpress/variables.tf +++ b/examples/terraform/wordpress/variables.tf @@ -1,3 +1,17 @@ +# Copyright 2024 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 "project_id" { description = "The ID of the project in which to provision resources." type = string