terraform project for Oracle Cloud Infrastructure (OCI) always free tier resources
.gitignore | ||
.pre-commit-config.yaml | ||
.terraform-docs.yml | ||
.terraform.lock.hcl | ||
oci.compute.tf | ||
oci.data.tf | ||
oci.db.tf | ||
oci.email.tf | ||
oci.identity.tf | ||
oci.locals.tf | ||
oci.main.tf | ||
oci.networking.tf | ||
oci.notification.tf | ||
oci.vault.tf | ||
README.md | ||
terraform.backend.tfvars.sample | ||
terraform.outputs.tf | ||
terraform.tf | ||
terraform.tfvars.sample | ||
terraform.variables.tf |
terraform-oci-free
Terraform Project for Oracle Cloud Infrastructure (OCI) Always Free Tier
https://docs.oracle.com/en-us/iaas/Content/FreeTier/freetier_topic-Always_Free_Resources.htm
Terraform Docs
Requirements
Name | Version |
---|---|
terraform | ~> 1.8.0 |
oci | ~> 5.43.0 |
tls | ~> 4.0.5 |
Providers
Name | Version |
---|---|
oci | 5.43.0 |
tls | 4.0.5 |
Modules
No modules.
Resources
Inputs
Name | Description | Type | Default | Required |
---|---|---|---|---|
oci_region | The region for the OCI provider | string |
n/a | yes |
tenancy_id | The OCID of the tenancy | string |
n/a | yes |
admin_create_credentials | Types of credentials to create for the admin user | object({ |
{ |
no |
create_instances | Create compute instances types | object({ |
{ |
no |
create_static_ip | Create a reserved static IP | bool |
true |
no |
create_topics | Create notification topics | bool |
true |
no |
create_vault | Create vault | bool |
true |
no |
created_compute_ssh_key_algorithm | The algorithm for the created SSH key if no key is provided | string |
"ED25519" |
no |
email_configuration | values for email configuration | object({ |
{ |
no |
enable_email_delivery | Create email delivery supporting configurations | bool |
true |
no |
enable_ipv6 | Enable IPv6 for the VCN | bool |
true |
no |
iac_project_name | The name of the iac project | string |
"oci-free" |
no |
iac_project_source | The source repo of the iac project | string |
"https://git.bdeshi.space/bdeshi/terraform-oci-free.git" |
no |
oci_profile | The config file profile for the OCI provider | string |
null |
no |
prefix | Name prefix for all resources | string |
"free-" |
no |
supplied_compute_ssh_public_key | A pre-created public SSH key for the compute instances | string |
null |
no |
topics | Values for notification topics configuration | map(object({ |
{} |
no |
use_kms | Use created vault for key creation and management | object({ |
{ |
no |
vcn_cidr | The CIDR block for the VCN | string |
"10.0.0.0/16" |
no |
Outputs
Name | Description |
---|---|
admin_auth_token | The auth token of the admin user |
admin_initial_password | The initial password of the admin user |
admin_smtp_password | The SMTP password of the admin user |
admin_smtp_username | The SMTP username of the admin user |
admin_user_id | The ID of the admin user |
api_key_fingerprint | The fingerprint of the admin user API key |
api_key_private | The private part of the admin user API key |
compartment_id | The ID of the created compartment |
compartment_name | The name of the created compartment |
customer_key_id | The ID of the customer key |
customer_key_key | The ID of the customer key |
email_dkim_records | The DKIM records for the email domain |
email_endpoints | The email configuration endpoints |
instance_availability_domains | The availability domains of the instances |
instance_ips | The public IP addresses of the instances |
instance_selected_images | The selected images for each instance shape |
kms_key_ids | The IDs of the KMS keys |
kms_vault_endpoints | The KMS vault endpoints |
kms_vault_id | The ID of the KMS vault |
reserved_ip | The reserved public IP address |
ssh_key_private | The created SSH private key for the compute instances |
ssh_key_public | The public SSH key for the compute instances |
subnet_cidr_block | The CIDR block for the subnet |
subnet_ipv6_cidr_block | The IPv6 CIDR block for the subnet |
tenancy_id | The ID of the tenancy |
tenancy_name | The name of the tenancy |
vcn_cidr_blocks | The CIDR block for the VCN |
vcn_ipv6_cidr_blocks | The IPv6 CIDR block for the VCN |
vcn_ipv6_cidr_private_blocks | The IPv6 CIDR block for the VCN |