Skip to content

Commit

Permalink
Import instance resource as a test step
Browse files Browse the repository at this point in the history
  • Loading branch information
tbroden84 committed Feb 5, 2024
1 parent ea07241 commit 7f476d1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cloudamqp/resource_cloudamqp_instance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ func TestAccInstance_Basics(t *testing.T) {
resource.TestCheckResourceAttr(resourceName, "tags.0", "terraform"),
),
},
{
ResourceName: resourceName,
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"keep_associated_vpc"},
},
},
})
}
Expand Down

0 comments on commit 7f476d1

Please sign in to comment.