library
turbot/azure
OverviewPipelines
0
Triggers
0
Variables
GitHub

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

NameTypeRequiredDescriptionDefault
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
subscription_idstringYesAzure Subscription Id. Examples: d46d7416-f95f-4771-bbb5-529d4c766.-
resource_groupstringYesAzure Resource Group. Examples: my-rg, my-rg-123.-
vm_namestringYesThe name of the Virtual Machine.flowpipe-test-vm-98ef68a7-d5d0-2346-f068-6a87fe61e773
vm_imagestringYesThe OS image for the Virtual Machine.Ubuntu2204
generate_ssh_keysboolYesGenerate SSH keys for the Virtual Machine.
no_waitboolYesDo not wait for the long-running operation to finish.

Outputs

NameDescription
vm_nameThe name of the Virtual Machine.
create_compute_virtual_machineCheck for pipeline.create_compute_virtual_machine.
get_compute_virtual_machineCheck for pipeline.get_compute_virtual_machine.
delete_compute_virtual_machineCheck for pipeline.delete_compute_virtual_machine.

Tags

type = test