Skip to content

Commit

Permalink
replacing importstateid, skipping import in generated sample
Browse files Browse the repository at this point in the history
  • Loading branch information
NickElliot committed Sep 15, 2023
1 parent 0e10aa1 commit eb19800
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions mmv1/products/billing/ProjectInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ examples:
- !ruby/object:Provider::Terraform::Examples
name: 'billing_project_info_basic'
primary_resource_id: 'default'
skip_import_test: true
test_env_vars:
billing_account: :BILLING_ACCT
org_id: :ORG_ID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func TestAccBillingProjectInfo_update(t *testing.T) {
ResourceName: "google_billing_project_info.info",
ImportState: true,
ImportStateVerify: true,
ImportStateId: fmt.Sprintf("projects/%s", envvar.GetTestProjectFromEnv()),
},
{
Config: testAccBillingProjectInfo_basic(projectId, orgId, ""),
Expand All @@ -37,6 +38,7 @@ func TestAccBillingProjectInfo_update(t *testing.T) {
ResourceName: "google_billing_project_info.info",
ImportState: true,
ImportStateVerify: true,
ImportStateId: fmt.Sprintf("projects/%s", envvar.GetTestProjectFromEnv()),
},
{
Config: testAccBillingProjectInfo_basic(projectId, orgId, billingAccount),
Expand All @@ -45,6 +47,7 @@ func TestAccBillingProjectInfo_update(t *testing.T) {
ResourceName: "google_billing_project_info.info",
ImportState: true,
ImportStateVerify: true,
ImportStateId: fmt.Sprintf("projects/%s", envvar.GetTestProjectFromEnv()),
},
},
})
Expand Down

0 comments on commit eb19800

Please sign in to comment.