Skip to content

Commit

Permalink
Merge pull request #259 from HewlettPackard/fix-acc-test
Browse files Browse the repository at this point in the history
Fix Test case and make instance storageType to skip diff
  • Loading branch information
reubenur-rahman authored Oct 4, 2024
2 parents e455a03 + 76018b7 commit 8571fb5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/reusable-dev-acc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ on:
required: false
default: 'acc-dev-testcases'
type: string
vmaas_broker_url:
description: 'Enter VMaas Broker URL'
required: false
default: 'https://vmaas-broker.us1.greenlake-hpe.com'
type: string
secrets:
DEV_HPEGL_IAM_SERVICE_URL:
required: true
Expand All @@ -44,6 +49,7 @@ env:
HPEGL_VMAAS_API_URL: ${{ secrets.DEV_HPEGL_VMAAS_API_URL }}
HPEGL_VMAAS_LOCATION: ${{ secrets.DEV_HPEGL_VMAAS_LOCATION }}
HPEGL_VMAAS_SPACE_NAME: ${{ secrets.DEV_HPEGL_VMAAS_SPACE_NAME}}
HPEGL_VMAAS_BROKER_URL: ${{ inputs.vmaas_broker_url }}
TF_ACC: ${{ secrets.TF_ACC }}
LOG_FILE: "Terraform Log - ${{ inputs.test_description }}.txt"
jobs:
Expand Down
1 change: 1 addition & 0 deletions internal/resources/resource_instances_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ func getInstanceDefaultSchema(isClone bool) *schema.Resource {
Optional: true,
Description: `Storage type ID can be obtained from hpegl_vmaas_instance_disk_type
data source.`,
DiffSuppressFunc: utils.SkipField(),
},
"id": {
Computed: true,
Expand Down

0 comments on commit 8571fb5

Please sign in to comment.