You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by dm...@apache.org on 2019/08/16 09:35:43 UTC
[incubator-dlab] 03/03: [DLAB-669] Created terraform scripts for
exploratoty and computatoonal resources on Azure[2]
This is an automated email from the ASF dual-hosted git repository.
dmysakovets pushed a commit to branch DLAB-669
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit ce1521fa0ef2bcd785a5c838b9b17e6fce7d6ffe
Author: Dyoma33 <de...@gmail.com>
AuthorDate: Fri Aug 16 12:35:19 2019 +0300
[DLAB-669] Created terraform scripts for exploratoty and computatoonal resources on Azure[2]
---
.../computational_resources/modules/ami/ami.tf | 41 ----------------------
.../modules/ami/variables.tf | 41 ----------------------
2 files changed, 82 deletions(-)
diff --git a/infrastructure-provisioning/terraform/azure/computational_resources/modules/ami/ami.tf b/infrastructure-provisioning/terraform/azure/computational_resources/modules/ami/ami.tf
deleted file mode 100644
index 3643841..0000000
--- a/infrastructure-provisioning/terraform/azure/computational_resources/modules/ami/ami.tf
+++ /dev/null
@@ -1,41 +0,0 @@
-# *****************************************************************************
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you 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 {
- ami_name = "${var.sbn}-ami"
-}
-
-resource "azurerm_image" "test" {
- name = "acctest"
- location = "West US"
- resource_group_name = var.env_rg
- source_virtual_machine_id = var.source_instance_id
- tags {
- Name = local.ami_name
- SBN = var.sbn
- Product = var.product
- Project_name = var.project_name
- Project_tag = var.project_tag
- Endpoint_tag = var.endpoint_tag
- User_tag = var.user_tag
- Custom_tag = var.custom_tag
- }
-}
\ No newline at end of file
diff --git a/infrastructure-provisioning/terraform/azure/computational_resources/modules/ami/variables.tf b/infrastructure-provisioning/terraform/azure/computational_resources/modules/ami/variables.tf
deleted file mode 100644
index 5ae8289..0000000
--- a/infrastructure-provisioning/terraform/azure/computational_resources/modules/ami/variables.tf
+++ /dev/null
@@ -1,41 +0,0 @@
-# *****************************************************************************
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you 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_name" {}
-
-variable "sbn" {}
-
-variable "source_instance_id" {}
-
-variable "project_tag" {}
-
-variable "notebook_name" {}
-
-variable "product" {}
-
-variable "endpoint_tag" {}
-
-variable "user_tag" {}
-
-variable "custom_tag" {}
-
-variable "env_rg" {}
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org