library
turbot/azure
OverviewPipelines
0
Triggers
0
Variables
GitHub

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

NameTypeRequiredDescriptionDefault
conn
connection.azure
YesName of Azure connection to use. If not provided, the default Azure connection will be used.connection.azure.default
subscription_id
string
YesAzure Subscription Id. Examples: d46d7416-f95f-4771-bbb5-529d4c766.-
resource_group
string
YesAzure Resource Group. Examples: my-rg, my-rg-123.-
vm_name
string
YesThe name of the Virtual Machine.flowpipe-test-vm-6bfc7343-a5c0-3c74-9f62-6447a6a0dbfe
vm_image
string
YesThe OS image for the Virtual Machine.Ubuntu2204
generate_ssh_keys
bool
YesGenerate SSH keys for the Virtual Machine.true
no_wait
bool
YesDo not wait for the long-running operation to finish.true

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

folder = Tests