Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"remote_state": {
"branch_id": "dev-branch",
"create_time": "[TIMESTAMP]",
"is_protected": false,
"name": "[DEV_BRANCH_ID]",
"no_expiry": true,
"parent": "projects/test-pg-proj-[UNIQUE_NAME]",
"status": {
"branch_id": "dev-branch",
Expand All @@ -23,19 +25,5 @@
},
"uid": "[BRANCH_UID]",
"update_time": "[TIMESTAMP]"
},
"changes": {
"is_protected": {
"action": "skip",
"reason": "empty",
"old": false,
"new": false
},
"no_expiry": {
"action": "skip",
"reason": "spec:input_only",
"old": true,
"new": true
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
"remote_state": {
"branch_id": "dev-branch",
"create_time": "[TIMESTAMP]",
"is_protected": true,
"name": "[DEV_BRANCH_ID]",
"no_expiry": true,
"parent": "projects/test-pg-proj-[UNIQUE_NAME]",
"status": {
"branch_id": "dev-branch",
Expand All @@ -36,13 +38,8 @@
"is_protected": {
"action": "update",
"old": true,
"new": false
},
"no_expiry": {
"action": "skip",
"reason": "spec:input_only",
"old": true,
"new": true
"new": false,
"remote": true
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
"remote_state": {
"branch_id": "dev-branch",
"create_time": "[TIMESTAMP]",
"is_protected": false,
"name": "[DEV_BRANCH_ID]",
"no_expiry": true,
"parent": "projects/test-pg-proj-[UNIQUE_NAME]",
"status": {
"branch_id": "dev-branch",
Expand All @@ -36,13 +38,8 @@
"is_protected": {
"action": "update",
"old": false,
"new": true
},
"no_expiry": {
"action": "skip",
"reason": "spec:input_only",
"old": true,
"new": true
"new": true,
"remote": false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,13 @@
"database_id": "my-database",
"name": "[MY_DATABASE_ID]",
"parent": "projects/test-pg-proj-[UNIQUE_NAME]/branches/main",
"postgres_database": "initial_db_name",
"role": "projects/test-pg-proj-[UNIQUE_NAME]/branches/main/roles/app-owner",
"status": {
"database_id": "my-database",
"postgres_database": "initial_db_name",
"role": "projects/test-pg-proj-[UNIQUE_NAME]/branches/main/roles/app-owner"
},
"update_time": "[TIMESTAMP]"
},
"changes": {
"postgres_database": {
"action": "skip",
"reason": "spec:input_only",
"old": "initial_db_name",
"new": "initial_db_name"
},
"role": {
"action": "skip",
"reason": "spec:input_only",
"old": "projects/test-pg-proj-[UNIQUE_NAME]/branches/main/roles/app-owner",
"new": "projects/test-pg-proj-[UNIQUE_NAME]/branches/main/roles/app-owner"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
"database_id": "my-database",
"name": "[MY_DATABASE_ID]",
"parent": "projects/test-pg-proj-[UNIQUE_NAME]/branches/main",
"postgres_database": "renamed_db_name",
"role": "projects/test-pg-proj-[UNIQUE_NAME]/branches/main/roles/app-owner",
"status": {
"database_id": "my-database",
"postgres_database": "renamed_db_name",
Expand All @@ -34,13 +36,8 @@
"postgres_database": {
"action": "update",
"old": "renamed_db_name",
"new": "initial_db_name"
},
"role": {
"action": "skip",
"reason": "spec:input_only",
"old": "projects/test-pg-proj-[UNIQUE_NAME]/branches/main/roles/app-owner",
"new": "projects/test-pg-proj-[UNIQUE_NAME]/branches/main/roles/app-owner"
"new": "initial_db_name",
"remote": "renamed_db_name"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
"database_id": "my-database",
"name": "[MY_DATABASE_ID]",
"parent": "projects/test-pg-proj-[UNIQUE_NAME]/branches/main",
"postgres_database": "initial_db_name",
"role": "projects/test-pg-proj-[UNIQUE_NAME]/branches/main/roles/app-owner",
"status": {
"database_id": "my-database",
"postgres_database": "initial_db_name",
Expand All @@ -34,13 +36,8 @@
"postgres_database": {
"action": "update",
"old": "initial_db_name",
"new": "renamed_db_name"
},
"role": {
"action": "skip",
"reason": "spec:input_only",
"old": "projects/test-pg-proj-[UNIQUE_NAME]/branches/main/roles/app-owner",
"new": "projects/test-pg-proj-[UNIQUE_NAME]/branches/main/roles/app-owner"
"new": "renamed_db_name",
"remote": "initial_db_name"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,5 @@
"label": "${resources.postgres_branches.main.id}"
}
],
"action": "skip",
"changes": {
"autoscaling_limit_max_cu": {
"action": "skip",
"reason": "spec:input_only",
"old": 8,
"new": 8
},
"autoscaling_limit_min_cu": {
"action": "skip",
"reason": "spec:input_only",
"old": 0.5,
"new": 0.5
},
"endpoint_type": {
"action": "skip",
"reason": "spec:input_only",
"old": "ENDPOINT_TYPE_READ_ONLY",
"new": "ENDPOINT_TYPE_READ_ONLY",
"remote": ""
},
"suspend_timeout_duration": {
"action": "skip",
"reason": "empty",
"old": "300s",
"new": "300s"
}
}
"action": "skip"
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,8 @@
"autoscaling_limit_max_cu": {
"action": "update",
"old": 4,
"new": 8
},
"autoscaling_limit_min_cu": {
"action": "skip",
"reason": "spec:input_only",
"old": 0.5,
"new": 0.5
},
"endpoint_type": {
"action": "skip",
"reason": "spec:input_only",
"old": "ENDPOINT_TYPE_READ_ONLY",
"new": "ENDPOINT_TYPE_READ_ONLY",
"remote": ""
},
"suspend_timeout_duration": {
"action": "skip",
"reason": "empty",
"old": "300s",
"new": "300s"
"new": 8,
"remote": 4
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,8 @@
"autoscaling_limit_max_cu": {
"action": "update",
"old": 8,
"new": 4
},
"autoscaling_limit_min_cu": {
"action": "skip",
"reason": "spec:input_only",
"old": 0.5,
"new": 0.5
},
"endpoint_type": {
"action": "skip",
"reason": "spec:input_only",
"old": "ENDPOINT_TYPE_READ_ONLY",
"new": "ENDPOINT_TYPE_READ_ONLY",
"remote": ""
},
"suspend_timeout_duration": {
"action": "skip",
"reason": "empty",
"old": "300s",
"new": "300s"
"new": 4,
"remote": 8
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@
"action": "skip",
"remote_state": {
"create_time": "[TIMESTAMP]",
"default_endpoint_settings": {
"autoscaling_limit_max_cu": 4,
"autoscaling_limit_min_cu": 0.5,
"suspend_timeout_duration": "300s"
},
"display_name": "Original Name",
"history_retention_duration": "604800s",
"name": "[MY_PROJECT_ID]",
"pg_version": 16,
"project_id": "test-pg-proj-[UNIQUE_NAME]",
"status": {
"branch_logical_size_limit_bytes": [NUMID],
Expand All @@ -22,39 +30,5 @@
},
"uid": "[UUID]",
"update_time": "[TIMESTAMP]"
},
"changes": {
"default_endpoint_settings": {
"action": "skip",
"reason": "spec:input_only",
"old": {
"autoscaling_limit_max_cu": 4,
"autoscaling_limit_min_cu": 0.5,
"suspend_timeout_duration": "300s"
},
"new": {
"autoscaling_limit_max_cu": 4,
"autoscaling_limit_min_cu": 0.5,
"suspend_timeout_duration": "300s"
}
},
"display_name": {
"action": "skip",
"reason": "spec:input_only",
"old": "Original Name",
"new": "Original Name"
},
"history_retention_duration": {
"action": "skip",
"reason": "empty",
"old": "604800s",
"new": "604800s"
},
"pg_version": {
"action": "skip",
"reason": "spec:input_only",
"old": 16,
"new": 16
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,15 @@
},
"remote_state": {
"create_time": "[TIMESTAMP]",
"default_endpoint_settings": {
"autoscaling_limit_max_cu": 4,
"autoscaling_limit_min_cu": 0.5,
"suspend_timeout_duration": "300s"
},
"display_name": "Updated Name",
"history_retention_duration": "604800s",
"name": "[MY_PROJECT_ID]",
"pg_version": 16,
"project_id": "test-pg-proj-[UNIQUE_NAME]",
"status": {
"branch_logical_size_limit_bytes": [NUMID],
Expand All @@ -37,36 +45,11 @@
"update_time": "[TIMESTAMP]"
},
"changes": {
"default_endpoint_settings": {
"action": "skip",
"reason": "spec:input_only",
"old": {
"autoscaling_limit_max_cu": 4,
"autoscaling_limit_min_cu": 0.5,
"suspend_timeout_duration": "300s"
},
"new": {
"autoscaling_limit_max_cu": 4,
"autoscaling_limit_min_cu": 0.5,
"suspend_timeout_duration": "300s"
}
},
"display_name": {
"action": "update",
"old": "Updated Name",
"new": "Original Name"
},
"history_retention_duration": {
"action": "skip",
"reason": "empty",
"old": "604800s",
"new": "604800s"
},
"pg_version": {
"action": "skip",
"reason": "spec:input_only",
"old": 16,
"new": 16
"new": "Original Name",
"remote": "Updated Name"
}
}
}
Loading
Loading