oci_fleet_apps_management_onboarding
This resource provides the Onboarding resource in Oracle Cloud Infrastructure Fleet Apps Management service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/fleet-management/latest/Onboarding
Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/fleet_apps_management
Onboard a tenant to Fleet Application Management. The onboarding process lets Fleet Application Management create a few required policies that you need to start using it and its features.
Example Usage
resource "oci_fleet_apps_management_onboarding" "test_onboarding" {
#Required
compartment_id = var.compartment_id
#Optional
is_cost_tracking_tag_enabled = var.onboarding_is_cost_tracking_tag_enabled
is_fams_tag_enabled = var.onboarding_is_fams_tag_enabled
}
Argument Reference
The following arguments are supported:
compartment_id- (Required) Tenancy OCIDis_cost_tracking_tag_enabled- (Optional) A value determining if the cost tracking tag is enabled or not. Allow Fleet Application Management to tag resources with cost tracking tag using “Oracle$FAMS-Tags.FAMSManaged” tag.is_fams_tag_enabled- (Optional) A value determining if the Fleet Application Management tagging is enabled or not. Allow Fleet Application Management to tag resources with fleet name using “Oracle$FAMS-Tags.FleetName” tag.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Attributes Reference
The following attributes are exported:
applied_policies- Summary of the Fleet Application Management Onboard Policy.id- The unique id of the resource.statements- Policy statements.system_tags- System tags for this resource. Each key is predefined and scoped to a namespace. Example:{"orcl-cloud.free-tier-retained": "true"}time_created- The time this resource was created. An RFC3339 formatted datetime string.time_updated- The time this resource was last updated. An RFC3339 formatted datetime string.
compartment_id- Tenancy OCIDdefined_tags- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:{"foo-namespace.bar-key": "value"}discovery_frequency- Provide discovery frequency.freeform_tags- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:{"bar-key": "value"}id- The unique id of the resource.is_cost_tracking_tag_enabled- A value determining if the cost tracking tag is enabled or not. Allow Fleet Application Management to tag resources with cost tracking tag using “Oracle$FAMS-Tags.FAMSManaged” tag.is_fams_tag_enabled- A value determining if the Fleet Application Management tagging is enabled or not. Allow Fleet Application Management to tag resources with fleet name using “Oracle$FAMS-Tags.FleetName” tag.resource_region- Associated regionstate- The current state of the Onboarding.system_tags- System tags for this resource. Each key is predefined and scoped to a namespace. Example:{"orcl-cloud.free-tier-retained": "true"}time_created- The time this resource was created. An RFC3339 formatted datetime string.time_updated- The time this resource was last updated. An RFC3339 formatted datetime string.version- The version of Fleet Application Management that the tenant is onboarded to.
Timeouts
The timeouts block allows you to
specify timeouts for certain
operations:
* create - (Defaults to 20 minutes), when creating the Onboarding
* update - (Defaults to 20 minutes), when updating the Onboarding
* delete - (Defaults to 20 minutes), when destroying the Onboarding
Import
Onboardings can be imported using the id, e.g.
$ terraform import oci_fleet_apps_management_onboarding.test_onboarding "id"