Skip to content

A Terraform module to create an OCI user with minimal capabilities for use in Lacework integrations

License

Notifications You must be signed in to change notification settings

lacework/terraform-oci-iam-user

Repository files navigation

terraform-oci-iam-user

GitHub release Codefresh build status

A Terraform Module to create a user and group to be used to integrate and OCI cloud account with Lacework.

Requirements

Name Version
terraform >= 0.14
lacework ~> 1.18
oci >= 5.3.0
tls >= 4.0.0

Providers

Name Version
lacework ~> 1.18
oci >= 5.3.0
tls >= 4.0.0

Modules

No modules.

Resources

Name Type
oci_identity_api_key.lacework_api_key resource
oci_identity_group.lacework_group resource
oci_identity_user.lacework_user resource
oci_identity_user_capabilities_management.lacework_user_capabilities_management resource
oci_identity_user_group_membership.lacework_user_group_membership resource
tls_private_key.rsa_key resource
lacework_metric_module.lwmetrics data source

Inputs

Name Description Type Default Required
create Set to false to prevent module from creating any resources bool true no
email Email associated with the created user string n/a yes
freeform_tags freeform tags for the resources created for Lacework integration map(any) {} no
group_name Name of the identity group for the Lacework user (overrides name_prefix) string "" no
name_prefix Names for the created resources will be ${name_prefix}_{user,group} string "lw_" no
tenancy_id OCID of the OCI tenancy to be integrated with Lacework string n/a yes
user_name Name of the IAM user used for Lacework integration (overrides name_prefix) string "" no

Outputs

Name Description
created Was the OCI user created
group_name Name of the group created to manage permissions for the integration user
group_ocid OCID of the group created to manage permissions for the integration user
user_name Name of the user created for the Lacework integration
user_ocid OCID of the user created for the Lacework integration
user_private_key_pem The private key of the API key of the user created for integration
user_public_key_fingerprint The public key fingerprint of the API key created for integration

About

A Terraform module to create an OCI user with minimal capabilities for use in Lacework integrations

Resources

License

Stars

Watchers

Forks

Packages

No packages published