Build the base of the web system on OCI. Default value is Always free.
It creates the following resources:
Network
- VCN
- Public Subnet
- Private Subnet
- Internet Gateway
- Nat Gateway
- Network Security Group
- Load Balancer
Compute
- Instance VM.Standard.E2.1.Micro
Security
- Bation Service
$ git clone https://github.com/yuki9431/terraform_oci_web.git
Create a terraform.tfvars by referring to terraform.tfvars_sample.
$ vi terraform.tfvars
OCI Parameters can be customized by editing *.tf. Apply at the end
$ terraform init
$ terraform plan
$ terraform apply
terraform {
required_version = ">= 1.0"
required_providers {
oci = {
version = ">= 4.0.0"
}
}
}
-
Oracle Cloud Infrastructure Documentation: Terraform Provider
-
Oracle Cloud Infrastructure Documentation: Set Up OCI Terraform
This software is licensed under the MIT license, see LICENSE for more information.