This repository was archived by the owner on Apr 18, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +19
-29
lines changed Expand file tree Collapse file tree 4 files changed +19
-29
lines changed Original file line number Diff line number Diff line change 1
1
module "bastion" {
2
- source = " modules/bastion"
2
+ source = " ./ modules/bastion"
3
3
instances = " 1"
4
4
region = " ${ var . region } "
5
5
compartment_ocid = " ${ var . compartment_ocid } "
@@ -17,7 +17,7 @@ module "bastion" {
17
17
}
18
18
19
19
module "utility" {
20
- source = " modules/utility"
20
+ source = " ./ modules/utility"
21
21
instances = " 1"
22
22
region = " ${ var . region } "
23
23
compartment_ocid = " ${ var . compartment_ocid } "
@@ -35,7 +35,7 @@ module "utility" {
35
35
}
36
36
37
37
module "master" {
38
- source = " modules/master"
38
+ source = " ./ modules/master"
39
39
instances = " ${ var . master_node_count } "
40
40
region = " ${ var . region } "
41
41
compartment_ocid = " ${ var . compartment_ocid } "
@@ -53,7 +53,7 @@ module "master" {
53
53
}
54
54
55
55
module "worker" {
56
- source = " modules/worker"
56
+ source = " ./ modules/worker"
57
57
instances = " ${ var . worker_node_count } "
58
58
region = " ${ var . region } "
59
59
compartment_ocid = " ${ var . compartment_ocid } "
Original file line number Diff line number Diff line change @@ -76,48 +76,39 @@ resource "oci_core_security_list" "PublicSubnet" {
76
76
}]
77
77
78
78
ingress_security_rules = [{
79
- tcp_options {
79
+ { tcp_options = {
80
80
" max" = 7180
81
81
" min" = 7180
82
82
}
83
-
84
83
protocol = " 6"
85
84
source = " 0.0.0.0/0"
86
- }]
87
-
88
- ingress_security_rules = [{
89
- tcp_options {
85
+ },
86
+ {tcp_options = {
90
87
" max" = 18088
91
88
" min" = 18088
92
89
}
93
-
94
90
protocol = " 6"
95
91
source = " 0.0.0.0/0"
96
- }]
97
-
98
- ingress_security_rules = [{
99
- tcp_options {
92
+ },
93
+ {tcp_options = {
100
94
" max" = 19888
101
95
" min" = 19888
102
96
}
103
-
104
97
protocol = " 6"
105
98
source = " 0.0.0.0/0"
106
- }]
99
+ },
107
100
108
- ingress_security_rules = [{
109
- tcp_options {
101
+ {tcp_options = {
110
102
" max" = 22
111
103
" min" = 22
112
104
}
113
-
114
105
protocol = " 6"
115
106
source = " 0.0.0.0/0"
116
- }]
117
-
118
- ingress_security_rules = [{
107
+ },
108
+ {
119
109
protocol = " 6"
120
110
source = " ${ var . VPC-CIDR } "
111
+ }
121
112
}]
122
113
}
123
114
@@ -129,9 +120,8 @@ resource "oci_core_security_list" "PrivateSubnet" {
129
120
egress_security_rules = [{
130
121
destination = " 0.0.0.0/0"
131
122
protocol = " 6"
132
- }]
133
-
134
- egress_security_rules = [{
123
+ },
124
+ {
135
125
protocol = " 6"
136
126
destination = " ${ var . VPC-CIDR } "
137
127
}]
@@ -153,7 +143,7 @@ resource "oci_core_security_list" "BastionSubnet" {
153
143
}]
154
144
155
145
ingress_security_rules = [{
156
- tcp_options {
146
+ tcp_options = {
157
147
" max" = 22
158
148
" min" = 22
159
149
}
Original file line number Diff line number Diff line change 1
1
module "network" {
2
- source = " modules/network"
2
+ source = " ./ modules/network"
3
3
tenancy_ocid = " ${ var . tenancy_ocid } "
4
4
compartment_ocid = " ${ var . compartment_ocid } "
5
5
availability_domain = " ${ var . availability_domain } "
Original file line number Diff line number Diff line change 1
- output "DEPLOYMENT COMMAND " { value = " python ../scripts/deploy_on_oci.py -B -m ${ module . utility . public-ip } -d ${ module . worker . block-volume-count } -w ${ var . worker_instance_shape } " }
1
+ output "DEPLOYMENT_COMMAND " { value = " python ../scripts/deploy_on_oci.py -B -m ${ module . utility . public-ip } -d ${ module . worker . block-volume-count } -w ${ var . worker_instance_shape } " }
You can’t perform that action at this time.
0 commit comments