Skip to content

Instantly share code, notes, and snippets.

@3deep5me
3deep5me / main.tf
Last active July 10, 2024 10:59
Terraform x Cloud-init to create an auto updating k3s ARM node on oracle always free tier with Ubuntu 22.04 minimal
variable "oci_compartment_id" {
description = "ID des Oracle Cloud Compartments"
type = string
}
data "oci_core_images" "ampere-ubuntu-images" {
compartment_id = var.oci_compartment_id
operating_system = "Canonical Ubuntu"
operating_system_version = "22.04 Minimal aarch64"
shape = "VM.Standard.A1.Flex"