-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathmoved_config.tf
24 lines (20 loc) · 1.05 KB
/
moved_config.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
############################################################################################################################################
# The following moved blocks allow consumers to upgrade the module from v3.5.1 or older without destroying the existing flow logs collector
# For more details, please refer - https://github.com/terraform-ibm-modules/terraform-ibm-landing-zone-vpc/issues/379
############################################################################################################################################
moved {
from = ibm_is_flow_log.flow_logs["management"]
to = module.vpc["management"].ibm_is_flow_log.flow_logs[0]
}
moved {
from = ibm_is_flow_log.flow_logs["workload"]
to = module.vpc["workload"].ibm_is_flow_log.flow_logs[0]
}
moved {
from = ibm_iam_authorization_policy.policy["flow-logs-atracker-cos-cos"]
to = ibm_iam_authorization_policy.policy["flow-logs-atracker-cos"]
}
moved {
from = ibm_iam_authorization_policy.policy["flow-logs-cos-cos"]
to = ibm_iam_authorization_policy.policy["flow-logs-cos"]
}