Skip to content

Commit

Permalink
Fix Test case and make instance storageType to skip diff
Browse files Browse the repository at this point in the history
  • Loading branch information
mahesh-hpe committed Sep 30, 2024
1 parent e455a03 commit 1786d87
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/reusable-dev-acc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@ on:
required: false
default: 'acc-dev-testcases'
type: string
vmaas_api_url:
description: 'Enter VMaaS API URL '
required: false
default: 'https://iac-vmaas.us1.greenlake-hpe.com'
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 +54,8 @@ 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_API_URL: ${{ inputs.vmaas_api_url }}
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 1786d87

Please sign in to comment.