|
| 1 | +# Oracle Cloud Onboarding Module |
| 2 | + |
| 3 | +This module will deploy foundational onboarding resources in Oracle for a compartment or root tenancy. |
| 4 | + |
| 5 | +The following resources will be created in each instrumented compartment/tenancy: |
| 6 | + |
| 7 | +- An Admit Policy on the target tenant that will allow sysdig tenant to `inspect` compartments in the specified |
| 8 | + compartment/tenancy. |
| 9 | +- A cloud account in the Sysdig Backend, associated with the specified compartment/tenant and with the required |
| 10 | + component to serve the foundational functions. |
| 11 | +- A cloud organization in the Sysdig Backend, associated with the specified compartment/tenant to fetch the organization |
| 12 | + structure(compartment tree) to install Sysdig Secure for Cloud. |
| 13 | + |
| 14 | +Note: |
| 15 | + |
| 16 | +- The outputs from the foundational module, such as `sysdig_secure_account_id` are needed as inputs to the other |
| 17 | + features/integrations modules for subsequent modular installations. |
| 18 | + |
| 19 | +<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --> |
| 20 | + |
| 21 | +## Requirements |
| 22 | + |
| 23 | +| Name | Version | |
| 24 | +|---------------------------------------------------------------------------|---------| |
| 25 | +| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0.0 | |
| 26 | +| <a name="requirement_oci"></a> [oci](#requirement\_oci) | >= 6.19.0 | |
| 27 | +| <a name="requirement_sysdig"></a> [sysdig](#requirement\_sysdig) | ~> 1.42 | |
| 28 | + |
| 29 | +## Providers |
| 30 | + |
| 31 | +| Name | Version | |
| 32 | +|------------------------------------------------------------|---------| |
| 33 | +| <a name="provider_oci"></a> [oci](#provider\_oci) | 6.19.0 | |
| 34 | +| <a name="provider_random"></a> [random](#provider\_random) | >= 3.1 | |
| 35 | + |
| 36 | +## Modules |
| 37 | + |
| 38 | +No modules. |
| 39 | + |
| 40 | +## Resources |
| 41 | + |
| 42 | +| [oci_identity_compartment.compartment](https://registry.terraform.io/providers/oracle/oci/latest/docs/resources/identity_compartment) | |
| 43 | +data source | |
| 44 | +| [random_id.suffix](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/id) | resource | |
| 45 | +| [oci_identity_policy.admit_onboarding_policy](https://registry.terraform.io/providers/oracle/oci/latest/docs/resources/identity_policy) | |
| 46 | +resource | |
| 47 | +| [sysdig_secure_cloud_auth_account.oracle_account](https://registry.terraform.io/providers/sysdiglabs/sysdig/latest/docs/resources/secure_cloud_auth_account) | |
| 48 | +resource | |
| 49 | +| [sysdig_secure_organization.oracle_organization](https://registry.terraform.io/providers/sysdiglabs/sysdig/latest/docs/resources/secure_organization) | |
| 50 | +resource | |
| 51 | + |
| 52 | +## Inputs |
| 53 | + |
| 54 | +| Name | Description | Type | Default | Required | |
| 55 | +|-----------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------|----------|------------------|:--------:| |
| 56 | +| <a name="input_is_organizational"></a> [is\_organizational](#input\_is\_organizational) | (Optional) True/False whether secure-for-cloud should be deployed in an organizational setup | `bool` | `false` | no | |
| 57 | +| <a name="input_tenancy_ocid"></a> [tenancy\_ocid](#input\_tenancy\_ocid) | (Required) Customer tenant OCID | `string` | n/a | yes | |
| 58 | +| <a name="input_compartment_ocid"></a> [compartment\_ocid](#input\_compartment\_ocid) | (Optional) Customer compartment OCID | `string` | `""` | no | |
| 59 | + |
| 60 | +## Outputs |
| 61 | + |
| 62 | +| Name | Description | |
| 63 | +|--------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------| |
| 64 | +| <a name="output_sysdig_secure_account_id"></a> [sysdig\_secure\_account\_id](#output\_sysdig\_secure\_account\_id) | ID of the Sysdig Cloud Account created | |
| 65 | +| <a name="output_is_organizational"></a> [is\_organizational](#output\_is\_organizational) | Boolean value to indicate if secure-for-cloud is deployed as an organization | |
| 66 | +| <a name="output_tenancy_ocid"></a> [tenancy\_ocid](#output\_tenancy\_ocid) | Customer tenant OCID | |
| 67 | +| <a name="output_compartment_ocid"></a> [compartment\_ocid](#output_compartment\_ocid) | Customer compartment OCID | |
| 68 | + |
| 69 | +<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> |
| 70 | + |
| 71 | +## Authors |
| 72 | + |
| 73 | +Module is maintained by [Sysdig](https://sysdig.com). |
| 74 | + |
| 75 | +## License |
| 76 | + |
| 77 | +Apache 2 Licensed. See LICENSE for full details. |
0 commit comments