mirror of
https://codeberg.org/scottslowe/learning-tools.git
synced 2026-03-11 09:04:37 +00:00
Add a sample Terraform configuration for working with Oracle Cloud Infrastructure (OCI) using the OCI Terraform provider Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
41 lines
865 B
HCL
41 lines
865 B
HCL
variable "oci_region" {
|
|
description = "Region in which to create all resources"
|
|
type = "string"
|
|
default = "us-phoenix-1"
|
|
}
|
|
|
|
variable "oci_tenancy_ocid" {
|
|
description = "OCID for the tenant"
|
|
type = "string"
|
|
}
|
|
|
|
variable "oci_user_ocid" {
|
|
description = "OCID for the user"
|
|
type = "string"
|
|
}
|
|
|
|
variable "oci_fingerprint" {
|
|
description = "Fingerprint for API key"
|
|
type = "string"
|
|
}
|
|
|
|
variable "oci_private_key_path" {
|
|
description = "Path to private key portion of API key"
|
|
type = "string"
|
|
}
|
|
|
|
variable "oci_compute_shape" {
|
|
description = "Compute shape to use"
|
|
type = "string"
|
|
default = "VM.Standard1.1"
|
|
}
|
|
|
|
variable "oci_image_name" {
|
|
description = "Display name for image to use"
|
|
type = "string"
|
|
}
|
|
|
|
variable "ssh_key" {
|
|
description = "SSH key to use with instance(s)"
|
|
type = "string"
|
|
}
|