add serialization and deserialization

This commit is contained in:
mhoffm
2021-06-23 20:30:30 +02:00
parent 228a013764
commit 150c676286
891 changed files with 54270 additions and 10 deletions

View File

@@ -0,0 +1,25 @@
// Copyright (c) 2020, Oracle and/or its affiliates.
// Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
/*
* Createa a compartment.
* The oci provider for the home region must be configured using the `home` provider alias.
*/
provider oci {
alias = "home"
}
/*
* Create a compartment.
*/
resource oci_identity_compartment compartment {
provider = oci.home
compartment_id = var.root_compartment_id
name = var.compartment_name
description = "${var.compartment_name} compartment"
enable_delete = var.enable_delete
defined_tags = var.defined_tags
freeform_tags = var.freeform_tags
}