From a1994147940b3ef23202f09ae7aa0b0a42b27774 Mon Sep 17 00:00:00 2001 From: Julio Diez Date: Fri, 10 Feb 2023 12:30:39 +0100 Subject: [PATCH] Add license boilerplate --- blueprints/serverless/cloud-run-explore/main.tf | 16 ++++++++++++++++ .../serverless/cloud-run-explore/outputs.tf | 16 ++++++++++++++++ .../serverless/cloud-run-explore/variables.tf | 16 ++++++++++++++++ 3 files changed, 48 insertions(+) diff --git a/blueprints/serverless/cloud-run-explore/main.tf b/blueprints/serverless/cloud-run-explore/main.tf index a35d3cf0c..dbe4c8342 100644 --- a/blueprints/serverless/cloud-run-explore/main.tf +++ b/blueprints/serverless/cloud-run-explore/main.tf @@ -1,3 +1,19 @@ +/** + * Copyright 2023 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 { gclb_create = var.custom_domain == null ? false : true } diff --git a/blueprints/serverless/cloud-run-explore/outputs.tf b/blueprints/serverless/cloud-run-explore/outputs.tf index c3608ebad..d832c8ad6 100644 --- a/blueprints/serverless/cloud-run-explore/outputs.tf +++ b/blueprints/serverless/cloud-run-explore/outputs.tf @@ -1,3 +1,19 @@ +/** + * Copyright 2023 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. + */ + output "default_URL" { description = "Cloud Run service default URL" value = module.cloud_run.service.status[0].url diff --git a/blueprints/serverless/cloud-run-explore/variables.tf b/blueprints/serverless/cloud-run-explore/variables.tf index 3975159c1..2820a7922 100644 --- a/blueprints/serverless/cloud-run-explore/variables.tf +++ b/blueprints/serverless/cloud-run-explore/variables.tf @@ -1,3 +1,19 @@ +/** + * Copyright 2023 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 = "Project ID" type = string