@@ -23,6 +23,9 @@ func TestAccDataplexDataProduct_update(t *testing.T) {
2323 {
2424 // STEP 1: Initial Creation
2525 Config : testAccDataplexDataProduct_basic (context ),
26+ Check : resource .ComposeTestCheckFunc (
27+ resource .TestCheckResourceAttr ("google_dataplex_data_product.example" , "icon" , "c29tZSBkYXRh" ),
28+ ),
2629 },
2730 {
2831 ResourceName : "google_dataplex_data_product.example" ,
@@ -42,6 +45,9 @@ func TestAccDataplexDataProduct_update(t *testing.T) {
4245 plancheck .ExpectResourceAction ("google_dataplex_data_product.example" , plancheck .ResourceActionUpdate ),
4346 },
4447 },
48+ Check : resource .ComposeTestCheckFunc (
49+ resource .TestCheckResourceAttr ("google_dataplex_data_product.example" , "icon" , "dXBkYXRlZCBkYXRh" ),
50+ ),
4551 },
4652 {
4753 ResourceName : "google_dataplex_data_product.example" ,
@@ -64,6 +70,7 @@ resource "google_dataplex_data_product" "example" {
6470 data_product_id = "%{data_product_id}"
6571 display_name = "initial display name"
6672 owner_emails = ["terraform-test@google.com"]
73+ icon = "c29tZSBkYXRh"
6774}
6875` , context )
6976}
@@ -76,6 +83,7 @@ resource "google_dataplex_data_product" "example" {
7683 display_name = "updated display name"
7784 description = "updated description"
7885 owner_emails = ["updated-owner@google.com"]
86+ icon = "dXBkYXRlZCBkYXRh"
7987
8088 labels = {
8189 env = "test"
0 commit comments