mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
Added required versions
This commit is contained in:
@@ -10,5 +10,5 @@ source_id = "ocid1.image.oc1.eu-amsterdam-1.aaaaaaaavmra3s4va4fqd4vlcrqc5v5jyqov
|
||||
|
||||
ssh_authorized_keys = <<-EOT
|
||||
ssh-ed25519 key-1 comment
|
||||
ssh-ed25519 key-n comment
|
||||
ssh-ed25519 key-N comment
|
||||
EOT
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
terraform {
|
||||
required_version = "1.2.9"
|
||||
|
||||
required_providers {
|
||||
oci = {
|
||||
source = "oracle/oci"
|
||||
version = "4.107.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# See https://registry.terraform.io/providers/oracle/oci/latest/docs/resources/core_vcn
|
||||
resource "oci_core_vcn" "this" {
|
||||
compartment_id = var.compartment_id
|
||||
|
||||
@@ -1,9 +1,18 @@
|
||||
####################
|
||||
# Oracle Cloud Account
|
||||
####################
|
||||
|
||||
variable "availability_domain" {
|
||||
type = string
|
||||
}
|
||||
variable "compartment_id" {
|
||||
type = string
|
||||
}
|
||||
|
||||
####################
|
||||
# Instance
|
||||
####################
|
||||
|
||||
variable "shape" {
|
||||
type = string
|
||||
default = "VM.Standard.A1.Flex"
|
||||
|
||||
Reference in New Issue
Block a user