diff --git a/terraform/datasources.tf b/terraform/datasources.tf index 6e174a0..c2556b7 100644 --- a/terraform/datasources.tf +++ b/terraform/datasources.tf @@ -141,7 +141,7 @@ data "template_file" "cloud_init" { catalogue_port = local.catalogue_port mock_mode = var.services_in_mock_mode deploy_id = random_string.deploy_id.result - region_id = "${var.region}" + region_id = var.region s3_secret = oci_identity_customer_secret_key.oci_user.key s3_key_id = oci_identity_customer_secret_key.oci_user.id object_namespace = oci_objectstorage_bucket.registry.namespace diff --git a/terraform/scripts/setup.template.sh b/terraform/scripts/setup.template.sh index 1dbf3c8..eba1ce0 100644 --- a/terraform/scripts/setup.template.sh +++ b/terraform/scripts/setup.template.sh @@ -43,7 +43,9 @@ mkfs.xfs -f -i size=512 -L glusterfs /home/fs.img mkdir -p /data/glusterfs/myvolume/mybrick echo '/home/fs.img /data/glusterfs/myvolume/mybrick xfs defaults 0 0' >> /etc/fstab mount -a && df -yum install -y glusterfs-server docker-engine +yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo +sed -i "s/\$releasever/7/g" /etc/yum.repos.d/docker-ce.repo +yum install -y glusterfs-server docker-ce docker-ce-cli containerd.io systemctl enable --now glusterd systemctl enable --now docker diff --git a/terraform/terraform.tfvars.example b/terraform/terraform.tfvars.example index 8c2c671..71cc89a 100644 --- a/terraform/terraform.tfvars.example +++ b/terraform/terraform.tfvars.example @@ -30,7 +30,7 @@ public_ssh_key = "" is_pv_encryption_in_transit_enabled = false # Network Details -lb_shape = "10Mbps-Micro" +lb_shape = "10Mbps" lb_compartment_ocid = "" # e.g.: "ocid1.compartment..." create_secondary_vcn = false diff --git a/terraform/variables.tf b/terraform/variables.tf index 4a5158d..993bdc1 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -45,7 +45,7 @@ variable "is_pv_encryption_in_transit_enabled" { # Network Details variable "lb_shape" { - default = "10Mbps-Micro" + default = "10Mbps" } variable "lb_compartment_ocid" { default = ""