Skip to content

Terraform module for creating free cloud infrastructure in Oracle Cloud and Google Cloud using Terraform Cloud for state management.

Notifications You must be signed in to change notification settings

mike-seagull/cloud_murmation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloud_murmation

Terraform module for creating free cloud infrastructure in Oracle Cloud and Google Cloud using Terraform Cloud for state management.

alt text

Providers

Name Version
google >= 4.70.0
oci >= 5.2.0

Resources

Name Type
google_compute_instance.gcp_instance resource
oci_core_instance.oci_instance1 resource
oci_core_instance.oci_instance2 resource
oci_core_instance.oci_instance3 resource
google_compute_network.network data source

Inputs

Name Description Type Default Required
b64_gcp_credentials "b64_gcp_credentials(preferred)" or "gcp_credentials" - the credentials for the GCP Terraform provider. Instructions for getting them are here: https://support.hashicorp.com/hc/en-us/articles/4406586874387-How-to-set-up-Google-Cloud-GCP-credentials-in-Terraform-Cloud string null no
b64_gcp_user_data base64 encoded userdata string null no
b64_oci1_user_data base64 encoded userdata string null no
b64_oci2_user_data base64 encoded userdata string null no
b64_oci3_user_data base64 encoded userdata string null no
gcp_credentials "b64_gcp_credentials(preferred)" or "gcp_credentials" - the credentials for the GCP Terraform provider. Instructions for getting them are here: https://support.hashicorp.com/hc/en-us/articles/4406586874387-How-to-set-up-Google-Cloud-GCP-credentials-in-Terraform-Cloud string null no
gcp_displayname the displayname that be seen in the GCP UI string "instance" no
gcp_hostname the hostname to give the instance string "instance" no
gcp_image image to use for the instance. 'Premium' images are not free. Here are some of the images available: https://cloud.google.com/compute/docs/images/os-details string "ubuntu-2204-lts" no
gcp_map_of_ssh_usernames_and_public_keys map of ssh usernames and public keys. at a minimum you will need a key for the ubuntu user, ex: { ubuntu = 'mypublickeyeample'} map n/a yes
gcp_network network name to put the instance in. string "default" no
gcp_project the human-readable name for the project to put the instance in not the id string n/a yes
oci_api_private_key private key for the OCID user. https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm string n/a yes
oci_displayname1 the displayname that be seen for non-ARM instance1 in the OCI UI string "instance1" no
oci_displayname2 the displayname that be seen for the non-ARM instance2 in the OCI UI string "instance2" no
oci_displayname3 the displayname that be seen for the ARM instance in the OCI UI string "instance3" no
oci_fingerprint the fingerprint of the key for the OCID user. https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm string n/a yes
oci_hostname1 the hostname to give the non-ARM instance1 string "instance1" no
oci_hostname2 the hostname to give the non-ARM instance2 string "instance2" no
oci_hostname3 the hostname to give the ARM instance string "instance3" no
oci_image image to use for the 2 non-arm instances. Here's a list of the images available: https://docs.oracle.com/en-us/iaas/images/ string "ocid1.image.oc1.phx.aaaaaaaa2eyu6rshjx4zrnwcrvsfv66cwfdwycfzcgui2ai6vmhcabpzz4gq" no
oci_image_arm image to use for the arm instance(s). Here's a list of the images available: https://docs.oracle.com/en-us/iaas/images/ string "ocid1.image.oc1.phx.aaaaaaaa5o7vmhhofkjbwcithkt6eur4lpfcp4edvbbcgb2aj6zc7ljynksq" no
oci_ssh_public_key public key to log into the instances string n/a yes
oci_subnetid subnet id for the instances string n/a yes
oci_tenancy tenancy to the put the instances in. https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm string n/a yes
oci_user the OCID of the user for whom the key pair is being added. https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm string n/a yes

About

Terraform module for creating free cloud infrastructure in Oracle Cloud and Google Cloud using Terraform Cloud for state management.

Topics

Resources

Stars

Watchers

Forks

Languages