diff --git a/main.tf b/main.tf index 52344f7..1a970b3 100644 --- a/main.tf +++ b/main.tf @@ -1,14 +1,7 @@ -# Copyright (c) 2018, 2021 Oracle Corporation and/or affiliates. All rights reserved. +# Copyright (c) 2018, 2022 Oracle Corporation and/or affiliates. All rights reserved. # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl -terraform { - required_version = ">= 0.12" // terraform version below 0.12 is not tested/supported with this module - required_providers { - oci = { - version = ">= 3.27" // force downloading oci-provider compatible with terraform v0.12 - } - } -} + // Get all the Availability Domains for the region and default backup policies data "oci_identity_availability_domains" "ad" { diff --git a/versions.tf b/versions.tf new file mode 100644 index 0000000..5f5edac --- /dev/null +++ b/versions.tf @@ -0,0 +1,9 @@ +terraform { + required_providers { + oci = { + source = "oracle/oci" + version = ">=4.67.3" + } + } + required_version = ">= 1.0.0" +}