-
Notifications
You must be signed in to change notification settings - Fork 0
/
instance_default.tf
37 lines (32 loc) · 1.08 KB
/
instance_default.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
variable "tenancy_ocid" {}
variable "user_ocid" {}
variable "fingerprint" {}
variable "private_key_path" {}
variable "region" {}
variable "compartment_ocid" {}
variable "instance_display_name" {}
variable "subnet_ocid" {}
variable "source_ocid" {}
variable "ssh_authorized_keys" {}
variable "vcn_ocid" {}
variable "block_storage_sizes_in_gbs" {
type = "list"
}
provider "oci" {
tenancy_ocid = "${var.tenancy_ocid}"
user_ocid = "${var.user_ocid}"
fingerprint = "${var.fingerprint}"
private_key_path = "${var.private_key_path}"
region = "${var.region}"
}
module "instance" {
source = "../../"
compartment_ocid = "${var.compartment_ocid}"
instance_display_name = "${var.instance_display_name}"
source_ocid = "${var.source_ocid}"
vcn_ocid = "${var.vcn_ocid}"
subnet_ocid = "${var.subnet_ocid}"
ssh_authorized_keys = "${var.ssh_authorized_keys}"
block_storage_sizes_in_gbs = "${var.block_storage_sizes_in_gbs}"
}