From f7df64ca33fcbe4ce757498b545d171de02e7cd4 Mon Sep 17 00:00:00 2001 From: Sam Swerdlow Date: Wed, 15 Feb 2023 15:49:31 +0000 Subject: [PATCH] No public description PiperOrigin-RevId: 509831816 --- modules/s4_ha/apis.tf | 14 ++++++++++++++ modules/s4_ha/app.tf | 14 ++++++++++++++ modules/s4_ha/ascs.tf | 14 ++++++++++++++ modules/s4_ha/backend.tf | 14 ++++++++++++++ modules/s4_ha/configuration_buckets.tf | 14 ++++++++++++++ modules/s4_ha/db.tf | 14 ++++++++++++++ modules/s4_ha/jump.tf | 14 ++++++++++++++ modules/s4_ha/media_buckets.tf | 14 ++++++++++++++ modules/s4_ha/networks.tf | 14 ++++++++++++++ modules/s4_ha/project.tf | 14 ++++++++++++++ modules/s4_ha/variables.tf | 14 ++++++++++++++ 11 files changed, 154 insertions(+) diff --git a/modules/s4_ha/apis.tf b/modules/s4_ha/apis.tf index 1fff2cfe..dceb9336 100644 --- a/modules/s4_ha/apis.tf +++ b/modules/s4_ha/apis.tf @@ -1,3 +1,17 @@ +# 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. + resource "google_project_service" "service_dns_googleapis_com" { disable_on_destroy = false project = data.google_project.sap-project.project_id diff --git a/modules/s4_ha/app.tf b/modules/s4_ha/app.tf index acdbf6c7..d2145cc4 100644 --- a/modules/s4_ha/app.tf +++ b/modules/s4_ha/app.tf @@ -1,3 +1,17 @@ +# 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. + resource "google_compute_disk" "sapdapp11" { count = var.app_vms_multiplier image = var.sap_boot_disk_image diff --git a/modules/s4_ha/ascs.tf b/modules/s4_ha/ascs.tf index 1c35574b..832be655 100644 --- a/modules/s4_ha/ascs.tf +++ b/modules/s4_ha/ascs.tf @@ -1,3 +1,17 @@ +# 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. + resource "google_compute_address" "alidascs11" { address_type = "INTERNAL" name = "alidascs11" diff --git a/modules/s4_ha/backend.tf b/modules/s4_ha/backend.tf index ea351450..dde61df4 100644 --- a/modules/s4_ha/backend.tf +++ b/modules/s4_ha/backend.tf @@ -1,3 +1,17 @@ +# 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. + terraform { backend "gcs" { bucket = "core-connect-dev-terraform-state" diff --git a/modules/s4_ha/configuration_buckets.tf b/modules/s4_ha/configuration_buckets.tf index 9d397135..5893b3a8 100644 --- a/modules/s4_ha/configuration_buckets.tf +++ b/modules/s4_ha/configuration_buckets.tf @@ -1,3 +1,17 @@ +# 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. + resource "google_storage_bucket" "configuration" { location = "US" name = "${var.gcp_project_name}-${var.deployment_name}_configuration" diff --git a/modules/s4_ha/db.tf b/modules/s4_ha/db.tf index 9999d668..65bf4c60 100644 --- a/modules/s4_ha/db.tf +++ b/modules/s4_ha/db.tf @@ -1,3 +1,17 @@ +# 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. + resource "google_compute_disk" "sapddb11" { image = var.sap_boot_disk_image lifecycle { diff --git a/modules/s4_ha/jump.tf b/modules/s4_ha/jump.tf index 3724f37a..771e5f41 100644 --- a/modules/s4_ha/jump.tf +++ b/modules/s4_ha/jump.tf @@ -1,3 +1,17 @@ +# 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. + resource "google_compute_disk" "sapdjump11" { image = "rhel-9-v20230203" lifecycle { diff --git a/modules/s4_ha/media_buckets.tf b/modules/s4_ha/media_buckets.tf index d059c743..d9419c81 100644 --- a/modules/s4_ha/media_buckets.tf +++ b/modules/s4_ha/media_buckets.tf @@ -1,3 +1,17 @@ +# 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. + data "google_storage_bucket" "media" { name = var.media_bucket_name provider = google-beta diff --git a/modules/s4_ha/networks.tf b/modules/s4_ha/networks.tf index 76e9c7fe..c5720d45 100644 --- a/modules/s4_ha/networks.tf +++ b/modules/s4_ha/networks.tf @@ -1,3 +1,17 @@ +# 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. + data "google_compute_network" "sap-vpc" { name = var.vpc_name project = data.google_project.sap-project.project_id diff --git a/modules/s4_ha/project.tf b/modules/s4_ha/project.tf index 376aa322..b79d6a71 100644 --- a/modules/s4_ha/project.tf +++ b/modules/s4_ha/project.tf @@ -1,3 +1,17 @@ +# 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. + data "google_project" "sap-project" { project_id = var.gcp_project_name } diff --git a/modules/s4_ha/variables.tf b/modules/s4_ha/variables.tf index 8393f237..6e1cfb9a 100644 --- a/modules/s4_ha/variables.tf +++ b/modules/s4_ha/variables.tf @@ -1,3 +1,17 @@ +# 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 "allow_stopping_for_update" { default = true description = "allow_stopping_for_update"