Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
Updated files for 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
lfeldman committed Jul 15, 2021
1 parent 64bc538 commit bed1db5
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 10 deletions.
18 changes: 9 additions & 9 deletions provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,30 @@
## All rights reserved. The Universal Permissive License (UPL), Version 1.0 as shown at http://oss.oracle.com/licenses/upl

provider "oci" {
region = var.region
tenancy_ocid = var.tenancy_ocid
region = var.region
tenancy_ocid = var.tenancy_ocid

#### BEGIN COMMENT OUT FOR USAGE ON ORM AND/OR CLOUD SHELL
user_ocid = var.user_ocid
fingerprint = var.fingerprint
private_key = local.private_key
private_key_password = var.private_key_password
#### END COMMENT OUT FOR USAGE ON ORM AND/OR CLOUD SHELL

disable_auto_retries = "true"
}

provider "oci" {
alias = "homeregion"
region = data.oci_identity_region_subscriptions.home_region_subscriptions.region_subscriptions[0].region_name
tenancy_ocid = var.tenancy_ocid
alias = "homeregion"
region = data.oci_identity_region_subscriptions.home_region_subscriptions.region_subscriptions[0].region_name
tenancy_ocid = var.tenancy_ocid

#### BEGIN COMMENT OUT FOR USAGE ON ORM AND/OR CLOUD SHELL
user_ocid = var.user_ocid
fingerprint = var.fingerprint
private_key = local.private_key
private_key_password = var.private_key_password
#### END COMMENT OUT FOR USAGE ON ORM AND/OR CLOUD SHELL

disable_auto_retries = "true"
}
12 changes: 12 additions & 0 deletions schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,12 @@
- eq:
- instance_shape
- "VM.Standard.E4.Flex"
- eq:
- instance_shape
- "VM.Optimized3.Flex"
- eq:
- instance_shape
- "VM.Standard.A1.Flex"

instance_flex_shape_memory:
type: number
Expand All @@ -215,6 +221,12 @@
- eq:
- instance_shape
- "VM.Standard.E4.Flex"
- eq:
- instance_shape
- "VM.Optimized3.Flex"
- eq:
- instance_shape
- "VM.Standard.A1.Flex"

instance_os:
type: enum
Expand Down
4 changes: 3 additions & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,9 @@ locals {
# Dictionary Locals
compute_flexible_shapes = [
"VM.Standard.E3.Flex",
"VM.Standard.E4.Flex"
"VM.Standard.E4.Flex",
"VM.Optimized3.Flex",
"VM.Standard.A1.Flex"
]
# Checks if is using Flexible Compute Shapes
is_flexible_node_shape = contains(local.compute_flexible_shapes, var.instance_shape)
Expand Down

0 comments on commit bed1db5

Please sign in to comment.