library
turbot/azure
Get Involved
Version
Pipeline: Test Create Compute Virtual Machine
Test the create_compute_virtual_machine pipeline.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run azure.pipeline.test_create_compute_virtual_machine \ --arg 'subscription_id=<string>' \ --arg 'resource_group=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = azure.pipeline.test_create_compute_virtual_machine args = { subscription_id = <string> resource_group = <string> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
conn | connection.azure | Yes | Name of Azure connection to use. If not provided, the default Azure connection will be used. | connection.azure.default |
subscription_id | string | Yes | Azure Subscription Id. Examples: d46d7416-f95f-4771-bbb5-529d4c766. | - |
resource_group | string | Yes | Azure Resource Group. Examples: my-rg, my-rg-123. | - |
vm_name | string | Yes | The name of the Virtual Machine. | flowpipe-test-vm-6bfc7343-a5c0-3c74-9f62-6447a6a0dbfe |
vm_image | string | Yes | The OS image for the Virtual Machine. | Ubuntu2204 |
generate_ssh_keys | bool | Yes | Generate SSH keys for the Virtual Machine. | true |
no_wait | bool | Yes | Do not wait for the long-running operation to finish. | true |
Outputs
Name | Description |
---|---|
vm_name | The name of the Virtual Machine. |
create_compute_virtual_machine | Check for pipeline.create_compute_virtual_machine. |
get_compute_virtual_machine | Check for pipeline.get_compute_virtual_machine. |
delete_compute_virtual_machine | Check for pipeline.delete_compute_virtual_machine. |
Tags
folder = Tests