Configuration Terraform Options:
Parameter | Description | Values | Default |
---|---|---|---|
|
ssl fingerprint of api public key. Required |
None |
|
|
path to api private key. Required |
None |
|
|
Region where to provision the resources. List of regions. Required |
None |
|
|
Tenancy id of the user. Required |
None |
|
|
User’s id. Required |
None |
Parameter | Description | Values | Default |
---|---|---|---|
|
Compartment id where the VCN and other resources will be provisioned. Required |
None |
|
|
a string to be prepended to the name of resources. Recommended. Set to "none" if you dont want any prefix. |
Parameter | Description | Values | Default |
---|---|---|---|
|
whether to create Dynamic Routing Gateway. If set to true, creates a Dynamic Routing Gateway and attach it to the vcn. |
true/false |
false |
|
Name of Dynamic Routing Gateway. Does not have to be unique (Updatable) |
||
|
Whether to create an internet gateway. Required for public subnets. |
true/false |
true |
|
whether to remove all default security rules from the VCN Default Security List |
true/false |
true |
|
Whether to create a NAT gateway. Required for private subnets. |
true/false |
true |
|
OCID of reserved IP address for NAT gateway. The reserved public IP address needs to be manually created. The default value of "none" will select a public IP address from the Oracle pool. |
none |
|
|
Whether to create a Service Gateway to use Oracle Services. |
true/false |
true |
|
The tags to apply on the VCN. |
map(any) |
null |
|
The VCN’s CIDR block. |
10.0.0.0/16 |
|
|
The internal DNS domain for resources created and prepended to "oraclevcn.com" which is the VCN-internal domain name. Required |
||
|
The name of the VCN that will be appended to the label_prefix. Recommended |
||
|
List of routing rules to add to Internet Gateway Route Table. (Updatable) |
|
|
|
List of routing rules to add to NAT Gateway Route Table. (Updatable) |
|
Parameter | Description | Values | Default |
---|---|---|---|
|
The Availability Domain where to provision resources e.g. bastion host. This is specified in the form of a map. |
|
|
|
CIDR block in the form of a string to which ssh access to the bastion must be restricted to. ANYWHERE is equivalent to 0.0.0.0/0 and allows ssh access from anywhere. |
XYZ.XYZ.XYZ.XYZ/YY |
ANYWHERE |
|
Whether to create the bastion host. |
true/false |
false |
|
Provide a custom image id for the bastion host or leave as Autonomous. |
imageid/Autonomous |
Autonomous |
|
The version of the operating system. |
7.9 |
7.9 |
|
The shape of bastion instance. This is now specified as a map and supports E3.Flex. If a non-Flex shape is specified, then the other parameters are ignored. |
e.g. |
|
|
The default state of the bastion compute instance. |
RUNNING/STOPPED |
RUNNING |
|
Whether to upgrade the bastion host packages after provisioning. It’s useful to set this to false during development/testing so the bastion is provisioned faster. |
true/false |
true |
|
The difference between the VCN’s netmask and the desired subnets' masks specified in the form of a map. The values of the map are used as the newbits parameter in the cidrsubnet Terraform function to calculate each subnet’s mask. |
|
|
|
0-based index of the subnet when the VCN’s CIDR is masked with the corresponding newbit value and specified in the form of a map. Used to define the boundaries of the subnet. The values of the map are used as the netnum parameter in the cidrsubnet Terraform function. |
|
|
|
Whether to enable ONS notification for the bastion host. |
true/false |
false |
|
The subscription notification endpoint. Email address to be notified. Required if notification_enabled = true . |
||
|
The notification protocol used. |
||
|
The name of the notification topic |
bastion |
|
|
path to ssh private key. This ssh key is used to authenticate and log into the bastion host. Must be the private key of the public key provided below. Required if bastion is enabled. |
None |
|
|
path to ssh public key. The ssh key is used when provisioning the bastion host. Must be the public key of the private key provided above. Required if bastion is enabled. |
None |
|
|
The tags to apply on the bastion resources. |
map(any) |
tags = {
role = "bastion"
} |
|
The preferred timezone for the bastion host. List of timezones |
Parameter | Description | Values | Default |
---|---|---|---|
|
Whether to create the operator host. |
true/false |
false |
|
Custom image id for the operator host |
image_id/Oracle. If the value is set to Oracle, an Oracle Platform image will be used instead. |
Oracle |
|
Whether to enable instance_principal on the operator server. Refer to instance_principal[instance_principal] |
true/false |
false |
|
The difference between the VCN’s netmask and the desired subnets' masks specified in the form of a map. The values of the map are used as the newbits parameter in the cidrsubnet Terraform function to calculate each subnet’s mask. |
|
|
|
0-based index of the subnet when the VCN’s CIDR is masked with the corresponding newbit value and specified in the form of a map. Used to define the boundaries of the subnet. The values of the map are used as the netnum parameter in the cidrsubnet Terraform function. |
|
|
|
Whether to enable ONS notification for the operator host. Do not enable for now. |
true/false |
false |
|
The subscription notification endpoint. Email address to be notified. Only email is currently supported although ONS can also support Slack, Pagerduty among others. |
||
|
The notification protocol used. |
||
|
The name of the notification topic |
operator |
|
|
Whether to also upgrade the packages for the operator host. |
true/false |
true |
|
The shape of operator instance. This is now specified as a map and supports E3.Flex. If a non-Flex shape is specified, then the other parameters are ignored. |
e.g. |
|
|
The state of the operator instance whether |
|
|
|
The Oracle Linux version. |
"8" |
"8" |
|
path to ssh private key. This ssh key is used to authenticate and log into the bastion host. Must be the private key of the public key provided below. Required if bastion is enabled. |
None |
|
|
path to ssh public key. The ssh key is used when provisioning the bastion host. Must be the public key of the private key provided above. Required if bastion is enabled. |
None |
|
|
The tags to apply on the bastion resources. |
map(any) |
tags = {
role = "operator"
} |
|
The preferred timezone for the operator host. List of timezones |
Australia/Sydney |