From a05217da601f44e0ffea5711e9462147ad7e8af5 Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Wed, 13 Apr 2022 16:31:36 +0000 Subject: [PATCH] update containerImages config for Notebooks terraform (#5925) Signed-off-by: Modular Magician --- .changelog/5925.txt | 3 +++ google/resource_notebooks_runtime.go | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 .changelog/5925.txt diff --git a/.changelog/5925.txt b/.changelog/5925.txt new file mode 100644 index 00000000000..513ad3373e7 --- /dev/null +++ b/.changelog/5925.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +notebooks: updated container_images config to default_from_api +``` diff --git a/google/resource_notebooks_runtime.go b/google/resource_notebooks_runtime.go index c578b55f386..e5fb4651aea 100644 --- a/google/resource_notebooks_runtime.go +++ b/google/resource_notebooks_runtime.go @@ -354,10 +354,10 @@ rest/v1/projects.locations.runtimes#AcceleratorType'`, }, }, "container_images": { - Type: schema.TypeList, - Optional: true, - DiffSuppressFunc: NotReturnedByAPIDiffSuppress, - Description: `Use a list of container images to start the notebook instance.`, + Type: schema.TypeList, + Computed: true, + Optional: true, + Description: `Use a list of container images to start the notebook instance.`, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "repository": {