Skip to content

Commit

Permalink
Mo: terraform fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Binsabbar committed Jun 13, 2022
1 parent 82d789e commit e0d19a6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion modules/instances/output.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
output "instances" {
value = {
for k, instance in oci_core_instance.instances : k => {
id = instance.id
id = instance.id
primary_vnic = {
primary_ip = [
for ip in data.oci_core_private_ips.primary_vnic_primary_private_ip[k].private_ips : {
Expand Down
6 changes: 3 additions & 3 deletions modules/kubernetes/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ resource "oci_containerengine_cluster" "cluster" {
vcn_id = var.vcn_id
kubernetes_version = var.cluster_k8s_version

endpoint_config {
endpoint_config {
is_public_ip_enabled = var.endpoint_config.is_public_ip_enabled
nsg_ids = var.endpoint_config.nsg_ids
subnet_id = var.endpoint_config.subnet_id
nsg_ids = var.endpoint_config.nsg_ids
subnet_id = var.endpoint_config.subnet_id
}
options {
add_ons {
Expand Down
4 changes: 2 additions & 2 deletions modules/kubernetes/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ variable "lb_subnet_ids" {
variable "endpoint_config" {
type = object({
is_public_ip_enabled = bool
nsg_ids = set(string)
subnet_id = string
nsg_ids = set(string)
subnet_id = string
})

description = <<EOF
Expand Down

0 comments on commit e0d19a6

Please sign in to comment.