Resource Type: oci_tenant

Defined in:
lib/puppet/type/oci_tenant.rb
Providers:
simple

Overview

The tenant identifier.

To get started with OCI in Puppet, you first have to identify the tenant you will use. See [this article](docs.cloud.oracle.com/en-us/iaas/Content/GSG/Concepts/settinguptenancy.htm) on how you can set up a tenancy in OCI.

Based on this information you can identify yourself to Puppet:

oci_tenant {'tenant':
  tenancy_ocid => 'ocid1.tenancy.oc1..aaaaaaaaqf48mdndf7mmzgtbhyaqyyqlnjqj42ezgitogrfnz2a5qbw3mqa',
  user_ocid    => 'ocid1.user.oc1..aaaaaaaaw4yqam25cqygpst5e2eepr7nukpn2chf3ds6ftcypttw7tmkqyga',
  fingerprint  => '72:22:6d:f8:02:de:ee:6e:f5:a7:95:b9:72:f3:d8:eb',
  region       => 'eu-frankfurt-1',
  private_key  => "
-----BEGIN RSA PRIVATE KEY-----
....

MIIEpQIBAAKCAQEA4Qtpf303eu65bPKGXloBgfXTK4TwGzRdpHngxmWwZrEm/E3j
...
-----END RSA PRIVATE KEY-----"
  }

Parameters

  • provider

    The specific backend to use for this ‘oci_tenant` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.