mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
feat: move from terraform to opentofu. hashicorp sucks
This commit is contained in:
parent
9a499d2f80
commit
c3f8606e6f
10 changed files with 47 additions and 41 deletions
|
|
@ -23,7 +23,7 @@ locals {
|
|||
}
|
||||
|
||||
resource "oci_core_instance" "that" {
|
||||
availability_domain = data.oci_identity_availability_domains.this.availability_domains.0.name
|
||||
availability_domain = "dBWL:CA-TORONTO-1-AD-1" #data.oci_identity_availability_domains.this.availability_domains.0.name
|
||||
compartment_id = var.tenancy_ocid
|
||||
shape = local.shapes.flex
|
||||
|
||||
|
|
@ -65,10 +65,13 @@ resource "oci_core_instance" "that" {
|
|||
}
|
||||
|
||||
lifecycle {
|
||||
ignore_changes = [source_details.0.source_id]
|
||||
ignore_changes = [
|
||||
metadata,
|
||||
source_details.0.source_id
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
locals {
|
||||
flex = oci_core_instance.that
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue