Releases: Binsabbar/oracle-cloud-terraform
Releases · Binsabbar/oracle-cloud-terraform
v2.11.0
v2.11.0:
New
network-sg
: add support for all rule types: ip cidrs, service cidrs and nsg ids.- see the example in the module for how to use the new variable.
- the default value is
CIDR_BLOCK
to ensure backward compatibility. - add new variables:
var.network_security_groups.*.*.type
var.network_security_groups.*.*.ips
var.network_security_groups.*.*.nsg_ids
var.network_security_groups.*.*.service_cidrs
- They are optional based on the type, if type is not set, then
var.network_security_groups.*.*.ips
becomes mandatory.
kubernetes
: Ability to add user defined tags for OKE nodes by using the optional variablenode_pools.*.defined_tags
Fix
instances
: Ignore changes made tometadata.user_data
in any instance, since changing the value will destroy and recreate the instance.
resource "oci_core_instance" "instances" {
...
...
metadata = {
ssh_authorized_keys = each.value.autherized_keys
user_data = lookup(each.value.optionals, "user_data", null)
}
lifecycle {
ignore_changes = [
metadata["user_data"] <------------------------------ note this
]
}
}
Breaking Changes
None
v2.10.0
v2.10.0:
New
network-sg
: change input type to support ports range invar.network_security_groups.*.ports
variable.
Fix
None
Breaking Changes
network-sg
modules input fornetwork_security_groups
is updated. The subkeyport
is replaced withports
and it is now a map of two objectsmax
andmin
.
network_security_groups = {
"group_1" = {
"rule_1" = {
direction = "INGRESS"
protocol = "tcp"
port = { min : 9090, max : 9090 }
ips = ["192.168.100.12", "192.168.100.12"]
}
}
}
- Currently there is no easy migration path for this change, since the terraform resource name is updated. However, destroying and recreating the rules is the best and fastest way to do it, however, it might impact your networks for few minutes. Alternatively, reference the new release in a new module definition, and migration your rules one by one.
v2.9.0
v2.9.0:
New
identity
: add new argumentcapabilities
invar.service_accounts
variable.
Fix
- Correct
path
argument bysource
argument to specify the module path inidentity
module usage examples inREADME.md
.
Breaking Changes
identity
modules input forservice_accounts
is updated. A new keycapabilities
is now required undervar.service_accounts.*
.- Add
capabilities
and set its value to{}
.
- Add
from:
module "identity" { ... service_accounts = toset(["terraform-cli"]) ... }
to:
module "identity" { ... service_accounts = { "terraform-cli" = { name = "terraform-cli", capabilities = {} } } ... }
v2.8.0
v2.8.0:
New
instances
: add new argumentavailability_config
. for VM migration during infrastructure maintenance events
Fix
None
Breaking Changes
instances
modules input is updated. A new keyavailability_config
is now required undervar.instances.*.config
.- Add
is_live_migration_preferred
and set its value totrue
. Example of partial instance object. - Add
recovery_action
and set its value toRESTORE_INSTANCE
. Example of partial instance object.
- Add
instances = {
...
...
...
network_sgs_ids = [
"ocixxxxxx.xxxxxx.xxxxx", "ocixxxxxx.xxxxxx.xxxxx",
]
primary_vnic = {
primary_ip = ""
secondary_ips = {}
}
availability_config = { <--------------------------------------------------- note this block
recovery_action = "RESTORE_INSTANCE"
is_live_migration_preferred = false
}
}
...
...
v2.7.1
v2.7.0
v2.7.0:
New
instances
: addboot_volume_backup_policies
to the input as optional value.instances
: addinstances[*].optional.reference_to_backup_policy_key_name
to theinstance
variable input as optional value to enable scheduled backup of boot volume
Fix
None
Breaking Changes
None
v2.6.1
v2.6.0
v2.5.0
v2.5.0:
New
network
: Add route rule to the default public route table when service gateway is enabled (note this is optional to add it to public subnet). Please refer to known issues with service gateway in public subnet before enabling it in public subnet.
Fix
None
Breaking Changes
network
modules input is updated. A new keyadd_route_rule_in_public_subnet
is now required undervar.service_gateway
.- Add
add_route_rule_in_public_subnet
and set its value tofalse
. See module's readme for full example.
- Add
service_gateway = {
enable = true
service_id = "ocid1.service.oc1.xxxxxxx"
route_rule_destination = "all-pox-services-in-oracle-services-network"
add_route_rule_in_public_subnet = false <-------------------------------------- note this line
optionals = {
route_table_id = "oci.xxxxxxxxx"
}
}
v2.4.1
v2.4.1:
New
Nonde
Fix
- Ignore changes made to
options[0].service_lb_subnet_ids
, since changing the value can destory the cluster. OKE does not allow updating Service LoadBalncer Subnet anymore, and, it is still there in the API. However, you are not restircted to deploy service load balancer to another subnet using annotations (https://github.com/oracle/oci-cloud-controller-manager/blob/master/docs/load-balancer-annotations.md). - add
prevent_destroy
to true, to avoid destorying the cluster due to changes made outside of Terraform.
Breaking Changes
None