Skip to content

Commit

Permalink
Merge pull request #4 from oracle-devrel/develop
Browse files Browse the repository at this point in the history
tf files updated with Copyright and License
  • Loading branch information
unamachi authored Aug 5, 2024
2 parents fc44ed3 + 3f9055f commit bd1e035
Show file tree
Hide file tree
Showing 384 changed files with 1,344 additions and 1,098 deletions.
34 changes: 8 additions & 26 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,35 +1,17 @@
Copyright (c) 2024 Oracle and/or its affiliates.
=======================================================================
Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
=======================================================================

The Universal Permissive License (UPL), Version 1.0

Subject to the condition set forth below, permission is hereby granted to any
person obtaining a copy of this software, associated documentation and/or data
(collectively the "Software"), free of charge and under any and all copyright
rights in the Software, and any and all patent rights owned or freely
licensable by each licensor hereunder covering either (i) the unmodified
Software as contributed to or provided by such licensor, or (ii) the Larger
Works (as defined below), to deal in both
Subject to the condition set forth below, permission is hereby granted to any person obtaining a copy of this software, associated documentation and/or data (collectively the "Software"), free of charge and under any and all copyright rights in the Software, and any and all patent rights owned or freely licensable by each licensor hereunder covering either (i) the unmodified Software as contributed to or provided by such licensor, or (ii) the Larger Works (as defined below), to deal in both

(a) the Software, and
(b) any piece of software and/or hardware listed in the lrgrwrks.txt file if
one is included with the Software (each a "Larger Work" to which the Software
is contributed by such licensors),

without restriction, including without limitation the rights to copy, create
derivative works of, display, perform, and distribute the Software and make,
use, sell, offer for sale, import, export, have made, and have sold the
Software and the Larger Work(s), and to sublicense the foregoing rights on
either these or other terms.
(b) any piece of software and/or hardware listed in the lrgrwrks.txt file if one is included with the Software (each a “Larger Work” to which the Software is contributed by such licensors), without restriction, including without limitation the rights to copy, create derivative works of, display, perform, and distribute the Software and make, use, sell, offer for sale, import, export, have made, and have sold the Software and the Larger Work(s), and to sublicense the foregoing rights on either these or other terms.

This license is subject to the following condition:
The above copyright notice and either this complete permission notice or at
a minimum a reference to the UPL must be included in all copies or
substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
The above copyright notice and either this complete permission notice or at a minimum a reference to the UPL must be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2 changes: 1 addition & 1 deletion modules/compute/dedicated-vm-host/main.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
#####################################
Expand Down
2 changes: 1 addition & 1 deletion modules/compute/dedicated-vm-host/oracle_provider_req.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
terraform {
Expand Down
4 changes: 2 additions & 2 deletions modules/compute/dedicated-vm-host/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

#
###################################
# Outputs Block - Dedicated VM Host
# Create Dedicated VM Hosts
Expand Down
4 changes: 2 additions & 2 deletions modules/compute/dedicated-vm-host/variables.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

#
#####################################
# Variables Block - Dedicated VM Host
# Create Dedicated VM Hosts
Expand Down
4 changes: 2 additions & 2 deletions modules/compute/instance/data.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

#
#############################
## Data Block - Instance
## Create Instance and Boot Volume Backup Policy
Expand Down
4 changes: 2 additions & 2 deletions modules/compute/instance/main.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

#
#############################
## Resource Block - Instance
## Create Instance and Boot Volume Backup Policy
Expand Down
2 changes: 1 addition & 1 deletion modules/compute/instance/oracle_provider_req.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
terraform {
Expand Down
4 changes: 2 additions & 2 deletions modules/compute/instance/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

#
############################
# Outputs Block - Instance
# Create Instance and Boot Volume Backup Policy
Expand Down
2 changes: 1 addition & 1 deletion modules/compute/instance/variables.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
############################
Expand Down
2 changes: 1 addition & 1 deletion modules/costmanagement/budget-alert-rule/main.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2024, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
################################
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
terraform {
Expand Down
2 changes: 1 addition & 1 deletion modules/costmanagement/budget-alert-rule/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2024, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
################################
Expand Down
2 changes: 1 addition & 1 deletion modules/costmanagement/budget-alert-rule/variables.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2024, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
#################################
Expand Down
2 changes: 1 addition & 1 deletion modules/costmanagement/budget/main.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2024, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
################################
Expand Down
2 changes: 1 addition & 1 deletion modules/costmanagement/budget/oracle_provider_req.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
terraform {
Expand Down
2 changes: 1 addition & 1 deletion modules/costmanagement/budget/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2024, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
################################
Expand Down
2 changes: 1 addition & 1 deletion modules/costmanagement/budget/variables.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2024, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
#################################
Expand Down
2 changes: 1 addition & 1 deletion modules/database/adb/data.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
#############################
Expand Down
2 changes: 1 addition & 1 deletion modules/database/adb/main.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
################################
Expand Down
2 changes: 1 addition & 1 deletion modules/database/adb/oracle_provider_req.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
terraform {
Expand Down
2 changes: 1 addition & 1 deletion modules/database/adb/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
################################
Expand Down
2 changes: 1 addition & 1 deletion modules/database/adb/variables.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
#################################
Expand Down
2 changes: 1 addition & 1 deletion modules/database/dbsystem-vm-bm/data.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
#############################
Expand Down
2 changes: 1 addition & 1 deletion modules/database/dbsystem-vm-bm/main.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
############################
Expand Down
2 changes: 1 addition & 1 deletion modules/database/dbsystem-vm-bm/oracle_provider_req.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
terraform {
Expand Down
2 changes: 1 addition & 1 deletion modules/database/dbsystem-vm-bm/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
############################
Expand Down
2 changes: 1 addition & 1 deletion modules/database/dbsystem-vm-bm/variables.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
############################
Expand Down
2 changes: 1 addition & 1 deletion modules/database/exa-infra/main.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
############################
Expand Down
2 changes: 1 addition & 1 deletion modules/database/exa-infra/oracle_provider_req.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
terraform {
Expand Down
2 changes: 1 addition & 1 deletion modules/database/exa-infra/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
############################
Expand Down
2 changes: 1 addition & 1 deletion modules/database/exa-infra/variables.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
############################
Expand Down
2 changes: 1 addition & 1 deletion modules/database/exa-vmcluster/data.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
#############################
Expand Down
2 changes: 1 addition & 1 deletion modules/database/exa-vmcluster/main.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
############################
Expand Down
2 changes: 1 addition & 1 deletion modules/database/exa-vmcluster/oracle_provider_req.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
terraform {
Expand Down
2 changes: 1 addition & 1 deletion modules/database/exa-vmcluster/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
############################
Expand Down
2 changes: 1 addition & 1 deletion modules/database/exa-vmcluster/variables.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
############################
Expand Down
2 changes: 1 addition & 1 deletion modules/dedicated-vm-host/main.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
#####################################
Expand Down
2 changes: 1 addition & 1 deletion modules/dedicated-vm-host/oracle_provider_req.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
terraform {
Expand Down
4 changes: 2 additions & 2 deletions modules/dedicated-vm-host/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

#
###################################
# Outputs Block - Dedicated VM Host
# Create Dedicated VM Hosts
Expand Down
4 changes: 2 additions & 2 deletions modules/dedicated-vm-host/variables.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) 2021, 2022, Oracle and/or its affiliates.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

#
#####################################
# Variables Block - Dedicated VM Host
# Create Dedicated VM Hosts
Expand Down
23 changes: 23 additions & 0 deletions modules/governance/billing/budget-alert-rule/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// Copyright (c) 2021, 2022, Oracle and/or its affiliates.

################################
## Resource Block - Governance
## Create Budget Alert Rule
################################

resource "oci_budget_alert_rule" "alert_rule" {
#Required
budget_id = var.budget_id
threshold = var.threshold
threshold_type = var.threshold_type
type = var.type

#Optional
defined_tags = var.defined_tags
description = var.description
display_name = var.display_name
freeform_tags = var.freeform_tags
message = var.message
recipients = var.recipients

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
terraform {
required_providers {
oci = {
source = "oracle/oci"
}
}
}
10 changes: 10 additions & 0 deletions modules/governance/billing/budget-alert-rule/outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright (c) 2021, 2022, Oracle and/or its affiliates.

################################
## Outputs Block - Governance
## Create Budget Alert Rule
################################

output "budget_alert_rule_tf_id" {
value = oci_budget_alert_rule.alert_rule.id
}
Loading

0 comments on commit bd1e035

Please sign in to comment.