-
Notifications
You must be signed in to change notification settings - Fork 211
/
migration.tf
61 lines (53 loc) · 1.61 KB
/
migration.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Copyright (c) 2023 Oracle Corporation and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl
# Subnets
moved {
from = module.network.oci_core_subnet.cp
to = module.network.oci_core_subnet.oke["cp"]
}
moved {
from = module.bastion[0].oci_core_subnet.bastion
to = module.network.oci_core_subnet.oke["bastion"]
}
moved {
from = module.operator[0].oci_core_subnet.operator
to = module.network.oci_core_subnet.oke["operator"]
}
moved {
from = module.network.oci_core_subnet.int_lb[0]
to = module.network.oci_core_subnet.oke["int_lb"]
}
moved {
from = module.network.oci_core_subnet.pub_lb[0]
to = module.network.oci_core_subnet.oke["pub_lb"]
}
moved {
from = module.network.oci_core_subnet.workers
to = module.network.oci_core_subnet.oke["workers"]
}
moved {
from = module.network.oci_core_subnet.pods
to = module.network.oci_core_subnet.oke["pods"]
}
moved {
from = module.network.oci_core_subnet.fss
to = module.network.oci_core_subnet.oke["fss"]
}
# Cluster
moved {
from = module.oke.oci_containerengine_cluster.k8s_cluster
to = module.cluster[0].oci_containerengine_cluster.k8s_cluster
}
# Workers
moved {
from = module.oke.oci_containerengine_node_pool.nodepools
to = module.workers[0].oci_containerengine_node_pool.workers
}
moved {
from = module.workers[0].oci_containerengine_node_pool.workers
to = module.workers[0].oci_containerengine_node_pool.tfscaled_workers
}
moved {
from = module.workers[0].oci_core_instance_pool.workers
to = module.workers[0].oci_core_instance_pool.tfscaled_workers
}