Skip to content

Terraform Oracle Cloud Infrastructure (OCI) Identity and Access Management (IAM) modules that help with the implementation of CIS (Center for Internet Security) OCI Foundations Benchmark recommendations.

License

Notifications You must be signed in to change notification settings

oci-landing-zones/terraform-oci-modules-iam

Repository files navigation

OCI Landing Zones IAM Modules

Landing Zone logo

This repository contains Terraform OCI (Oracle Cloud Infrastructure) modules for IAM (Identity and Access Management) related resources that help customers align their OCI implementations with the CIS (Center for Internet Security) OCI Foundations Benchmark recommendations.

The following modules are available:

Within each module you find an examples folder. Each example is a fully runnable Terraform configuration that you can quickly test and put to use by modifying the input data according to your own needs.

The modules support being a passed an object containing references to OCIDs (Oracle Cloud IDs) that they may depend on. Every input attribute that expects an OCID (typically, attribute names ending in _id or _ids) can be given either a literal OCID or a reference (a key) to the OCID. While these OCIDs can be literally obtained from their sources and pasted when setting the modules input attributes, a superior approach is automatically consuming the outputs of producing modules. For instance, the Compartments module may depend on tags for applying tag defaults. It can be passed a tags_dependency map with objects representing tags produced by the Tags module. The external dependency approach helps with the creation of loosely coupled Terraform configurations with clearly defined dependencies between them, avoiding copying and pasting OCIDs.

OCI Foundations Benchmark Modules Collection

This repository is part of a broader collection of repositories containing modules that help customers align their OCI implementations with the CIS OCI Foundations Benchmark recommendations:

The modules in this collection are designed for flexibility, are straightforward to use, and enforce CIS OCI Foundations Benchmark recommendations when possible.

Using these modules does not require a user extensive knowledge of Terraform or OCI resource types usage. Users declare a JSON object describing the OCI resources according to each module’s specification and minimal Terraform code to invoke the modules. The modules generate outputs that can be consumed by other modules as inputs, allowing for the creation of independently managed operational stacks to automate your entire OCI infrastructure.

Contributing

See CONTRIBUTING.md.

License

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.

See LICENSE for more details.

Known Issues

None.

About

Terraform Oracle Cloud Infrastructure (OCI) Identity and Access Management (IAM) modules that help with the implementation of CIS (Center for Internet Security) OCI Foundations Benchmark recommendations.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages