diff --git a/.github/workflows/cicd-dev-acc.yml b/.github/workflows/cicd-dev-acc.yml index dc7a9cb7..37960d1e 100644 --- a/.github/workflows/cicd-dev-acc.yml +++ b/.github/workflows/cicd-dev-acc.yml @@ -10,6 +10,7 @@ jobs: with: test_case: TestProvider test_description: Check for valid terraform provider + vmaas_broker_url: "https://vmaas-broker.intg.hpedevops.net" secrets: inherit test-datasouces: @@ -19,6 +20,7 @@ jobs: with: test_case: TestAccDataSource test_description: GET call usecase validations + vmaas_broker_url: "https://vmaas-broker.intg.hpedevops.net" secrets: inherit test-vmaas-instance: @@ -28,6 +30,7 @@ jobs: with: test_case: TestVmaasInstance TestAccResourceInstance test_description: Instance usecase validations + vmaas_broker_url: "https://vmaas-broker.intg.hpedevops.net" secrets: inherit test-vmaas-lb: @@ -37,6 +40,7 @@ jobs: with: test_case: TestVmaasLB TestAccResourceLB TestVmaasLoadBalancerPlan TestAccResourceLoadBalancerCreate test_description: Loadbalancer usecase validations + vmaas_broker_url: "https://vmaas-broker.intg.hpedevops.net" secrets: inherit test-vmaas-network: @@ -46,6 +50,7 @@ jobs: with: test_case: TestVmaasNetworkPlan TestAccResourceNetworkCreate TestAccResourceRouter TestVmaasRouter TestAccResourceTier TestVmaasRouteBGPNeighborPlan test_description: NSX Network usecase validations + vmaas_broker_url: "https://vmaas-broker.intg.hpedevops.net" secrets: inherit process-logs: diff --git a/.github/workflows/dev-acc.yml b/.github/workflows/dev-acc.yml index 2a695e35..c533ebf9 100644 --- a/.github/workflows/dev-acc.yml +++ b/.github/workflows/dev-acc.yml @@ -19,6 +19,11 @@ on: required: true default: 'Check Terraform Dev Testcase' type: string + vmaas_broker_url: + description: 'Enter VMaaS Broker URL' + required: false + default: 'https://vmaas-broker.intg.hpedevops.net' + type: string jobs: acc-test: @@ -26,6 +31,7 @@ jobs: with: test_case: ${{ inputs.test_case }} test_description: ${{ inputs.test_description }} + vmaas_broker_url: ${{ inputs.vmaas_broker_url }} secrets: DEV_HPEGL_IAM_SERVICE_URL: ${{ secrets.DEV_HPEGL_IAM_SERVICE_URL }} DEV_HPEGL_TENANT_ID: ${{ secrets.DEV_HPEGL_TENANT_ID }} diff --git a/.github/workflows/malware-scan.yml b/.github/workflows/malware-scan.yml index 90dd3fef..a332eab9 100644 --- a/.github/workflows/malware-scan.yml +++ b/.github/workflows/malware-scan.yml @@ -17,7 +17,7 @@ jobs: contents: read steps: - name: "Checkout Repository" - uses: "actions/checkout@v3.5.0" + uses: "actions/checkout@v4" with: fetch-depth: 0 - name: "Scan Source for Viruses" diff --git a/acc-dev-testcases/data-sources/instance_storage_controller.yaml b/acc-dev-testcases/data-sources/instance_storage_controller.yaml new file mode 100644 index 00000000..7859e787 --- /dev/null +++ b/acc-dev-testcases/data-sources/instance_storage_controller.yaml @@ -0,0 +1,6 @@ +acc: +- config: | + layout_id = 118 + controller_name = "ide" + bus_number = 0 + interface_number = 1 diff --git a/acc-dev-testcases/data-sources/morpheus_details.yaml b/acc-dev-testcases/data-sources/morpheus_details.yaml new file mode 100644 index 00000000..4550d174 --- /dev/null +++ b/acc-dev-testcases/data-sources/morpheus_details.yaml @@ -0,0 +1,2 @@ +acc: + - config: \ No newline at end of file diff --git a/acc-dev-testcases/resources/instance_clone.yaml b/acc-dev-testcases/resources/instance_clone.yaml index 41811c3d..a91e58af 100644 --- a/acc-dev-testcases/resources/instance_clone.yaml +++ b/acc-dev-testcases/resources/instance_clone.yaml @@ -2,7 +2,7 @@ vars: instance_name: tf_acc_clone_%rand_int acc: - config: | - source_instance_id = 11 + source_instance_id = 302 name = "$(instance_name)" network { id = 156