File tree 3 files changed +6
-11
lines changed
3 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ resource "oci_core_instance" "simple-vm" {
37
37
ssh_authorized_keys = var.ssh_public_key
38
38
user_data = base64encode (file (" ./scripts/bootstrap.sh" ))
39
39
40
+ https_only = true
40
41
server_ssl_port = var.console_ssl_port
41
42
use_secrets = var.use_secrets
42
43
admin_user = var.admin_user
@@ -58,7 +59,8 @@ resource "oci_core_instance" "simple-vm" {
58
59
# required when using existing adb, optional for new one and will be defaulted to sgtech
59
60
adb_user = var.adb_user
60
61
# required when using existing adb, optional for new one and will be defaulted to admin's
61
- adb_user_password_ocid = var.adb_user_password_ocid
62
+ adb_user_pwd = var.adb_user_password_ocid
63
+ adb_use_secrets = true
62
64
# required to set max/min connections for studio
63
65
is_free_adb = local.is_free_adb
64
66
Original file line number Diff line number Diff line change @@ -23,19 +23,12 @@ locals {
23
23
listing_resource_id = local. compute_image_id
24
24
listing_resource_version = var. mp_listing_resource_version
25
25
26
- compute_flexible_shapes = [
27
- " VM.Standard.E3.Flex" ,
28
- " VM.Standard.E4.Flex" ,
29
- " VM.Standard3.Flex" ,
30
- " VM.Optimized3.Flex"
31
- ]
32
-
33
26
compute_arm_shapes = [
34
27
" VM.Standard.A1.Flex"
35
28
]
36
29
37
30
# local.is_flex_shape referenced in compute.tf
38
- is_flex_shape = contains (local . compute_flexible_shapes ,var. instance_shape . instanceShape ) ? [1 ] : []
31
+ is_flex_shape = contains (split ( " . " ,var. instance_shape . instanceShape ), " Flex " ) ? [1 ] : []
39
32
40
33
is_arm_shape = contains (local. compute_arm_shapes ,var. instance_shape . instanceShape ) ? true : false
41
34
Original file line number Diff line number Diff line change @@ -190,11 +190,11 @@ variable "mp_listing_id" {
190
190
191
191
# Package version Reference
192
192
variable "mp_listing_resource_version" {
193
- default = " 22.1.1 .1"
193
+ default = " 22.2.0 .1"
194
194
}
195
195
196
196
# Use this variable along the use_marketplace_image to specify either the
197
197
# Image artifact ocid to use the latest official marketplace image or your custom image ocid
198
198
variable "instance_image_id" {
199
- default = " ocid1.image.oc1..aaaaaaaalb6tbux65qelwpgvb7h5uklfzujeufaerq2qoh2tewlghnp5ie7a "
199
+ default = " ocid1.image.oc1..aaaaaaaalrslmrm5tx6eitzqs46usxmpyddj3yzmxrp63pb5ij4ibx4vyw5q "
200
200
}
You can’t perform that action at this time.
0 commit comments