generated from oracle-quickstart/oci-quickstart-template
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: FSS principal names * fix: dependencies strongly typed * feat: automation config added * fix: dependencies strongly typed * feat: data types changed to any in examples * fix: substr length arg added * doc: release notes and version bump
- Loading branch information
1 parent
07cc201
commit f729216
Showing
22 changed files
with
103 additions
and
378 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Copyright (c) 2023, Oracle and/or its affiliates. | ||
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. | ||
|
||
data "oci_objectstorage_namespace" "this" { | ||
count = var.automation_config != null ? 1 : 0 | ||
compartment_id = var.tenancy_ocid | ||
} | ||
|
||
### Writing compartments module output to Object Storage bucket. | ||
resource "oci_objectstorage_object" "this" { | ||
count = var.automation_config != null ? 1 : 0 | ||
bucket = var.automation_config.bucket_name | ||
content = jsonencode(module.vision_compartments.compartments) | ||
namespace = data.oci_objectstorage_namespace.this[0].namespace | ||
object = var.automation_config.output_file_name | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.