diff --git a/cmd/changes_submit_plan_test.go b/cmd/changes_submit_plan_test.go index 54ec5d7c..e3e283e2 100644 --- a/cmd/changes_submit_plan_test.go +++ b/cmd/changes_submit_plan_test.go @@ -272,7 +272,7 @@ func TestExtractProviderNameFromConfigKey(t *testing.T) { Expected: "kubernetes", }, { - ConfigKey: "module.core:kubernetes", + ConfigKey: "module.services:kubernetes", Expected: "kubernetes", }, } diff --git a/cmd/testdata/plan.json b/cmd/testdata/plan.json index 77b2d27b..ed2ca02c 100644 --- a/cmd/testdata/plan.json +++ b/cmd/testdata/plan.json @@ -74,8 +74,7 @@ { "args": [], "command": [], - "env": [ - ], + "env": [], "env_from": [], "image": "ghcr.io/overmindtech/api-server@sha256:d10d15d0bce640a7e4e505b57652d7a7e46f8092a3dbd64408de4368cda40270", "image_pull_policy": "IfNotPresent", @@ -638,7 +637,6 @@ "tags_all": {} } }, - { "address": "module.eks_elb_controller.data.aws_iam_policy_document.lb_controller[0]", "mode": "data", @@ -1319,7 +1317,7 @@ { "resources": [ { - "address": "module.core.kubernetes_secret.apiserver-secrets", + "address": "module.services.kubernetes_secret.apiserver-secrets", "mode": "managed", "type": "kubernetes_secret", "name": "apiserver-secrets", @@ -2395,8 +2393,8 @@ }, "resource_changes": [ { - "address": "module.core.kubernetes_secret.apiserver-secrets", - "module_address": "module.core", + "address": "module.services.kubernetes_secret.apiserver-secrets", + "module_address": "module.services", "mode": "managed", "type": "kubernetes_secret", "name": "apiserver-secrets", @@ -2407,8 +2405,7 @@ ], "before": { "binary_data": null, - "data": { - }, + "data": {}, "id": "default/apiserver-secrets", "immutable": false, "metadata": [ @@ -2928,8 +2925,7 @@ { "args": [], "command": [], - "env": [ - ], + "env": [], "env_from": [], "image": "ghcr.io/overmindtech/api-server@sha256:41be6bab8dc65bf19fe3771fa9cf54e51621d93161056db8091ca2ff905be24a", "image_pull_policy": "IfNotPresent", @@ -3203,8 +3199,7 @@ { "args": [], "command": [], - "env": [ - ], + "env": [], "env_from": [], "image": "ghcr.io/overmindtech/api-server@sha256:d10d15d0bce640a7e4e505b57652d7a7e46f8092a3dbd64408de4368cda40270", "image_pull_policy": "IfNotPresent", @@ -5821,7 +5816,7 @@ "mode": "managed", "type": "kubernetes_secret", "name": "apiserver-secrets", - "provider_config_key": "module.core:kubernetes", + "provider_config_key": "module.services:kubernetes", "expressions": { "data": { "references": [ @@ -7185,4 +7180,4 @@ } }, "timestamp": "2023-07-17T15:48:38Z" -} \ No newline at end of file +}