Skip to content

Commit

Permalink
tests/r/servicecat_prov_art: Verify import
Browse files Browse the repository at this point in the history
  • Loading branch information
YakDriver committed May 20, 2021
1 parent fdcd82d commit 517061b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions aws/resource_aws_servicecatalog_provisioning_artifact_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,16 @@ func TestAccAWSServiceCatalogProvisioningArtifact_update(t *testing.T) {
resource.TestCheckResourceAttr(resourceName, "name", fmt.Sprintf("%s-3", rName)),
),
},
{
ResourceName: resourceName,
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{
"accept_language",
"disable_template_validation",
"template_url",
},
},
},
})
}
Expand Down Expand Up @@ -228,6 +238,16 @@ func TestAccAWSServiceCatalogProvisioningArtifact_physicalID(t *testing.T) {
testAccCheckResourceAttrRfc3339(resourceName, "created_time"),
),
},
{
ResourceName: resourceName,
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{
"accept_language",
"disable_template_validation",
"template_physical_id",
},
},
},
})
}
Expand Down

0 comments on commit 517061b

Please sign in to comment.