File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed
examples/aws-project-byoc-i Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -30,23 +30,12 @@ resource "zillizcloud_byoc_op_project_agent" "this" {
3030
3131resource "zillizcloud_byoc_op_project" "this" {
3232
33- lifecycle {
34- ignore_changes = [data_plane_id , project_id , aws , ext_config ]
35-
36- }
37-
38- # required
39- data_plane_id = data. zillizcloud_byoc_op_project_settings . this . data_plane_id
40- # required
4133 project_id = data. zillizcloud_byoc_op_project_settings . this . project_id
42- # required
43- ext_config = " ext_config"
34+ data_plane_id = data. zillizcloud_byoc_op_project_settings . this . data_plane_id
4435
4536 aws = {
46- # option
4737 region = data.zillizcloud_byoc_op_project_settings.this.region
4838
49- # option
5039 network = {
5140 vpc_id = module.aws_byoc_op.vpc_id
5241 subnet_ids = module.aws_byoc_op.private_subnet_ids
@@ -69,7 +58,12 @@ resource "zillizcloud_byoc_op_project" "this" {
6958 }
7059 }
7160
61+ ext_config = " ext_config"
7262 depends_on = [data . zillizcloud_byoc_op_project_settings . this , zillizcloud_byoc_op_project_agent . this , module . aws_byoc_op ]
63+ lifecycle {
64+ ignore_changes = [data_plane_id , project_id , aws , ext_config ]
65+
66+ }
7367}
7468
7569output "data_plane_id" {
You can’t perform that action at this time.
0 commit comments