library
turbot/azure
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: Update Disk Encryption with Customer-Managed Key

Update a compute disk to use encryption at rest with a customer-managed key.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run azure.pipeline.update_compute_disk_encryption_with_cmk \
--arg 'subscription_id=<string>' \
--arg 'resource_group=<string>' \
--arg 'disk_name=<string>' \
--arg 'disk_encryption_set_id=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = azure.pipeline.update_compute_disk_encryption_with_cmk
args = {
subscription_id = <string>
resource_group = <string>
disk_name = <string>
disk_encryption_set_id = <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.-
disk_name
string
YesThe name of the disk to update.-
disk_encryption_set_id
string
YesThe resource ID of the disk encryption set to use for encryption.-

Outputs

NameDescription
disk_encryption_statusThe updated encryption status of the disk.