Data Source: azurermBlueprintPublishedVersion
Use this data source to access information about an existing Blueprint Published Version
\~> NOTE: Azure Blueprints are in Preview and potentially subject to breaking change without notice.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as azurerm from "./.gen/providers/azurerm";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: azurerm.
For a more precise conversion please use the --provider flag in convert.*/
const dataAzurermSubscriptionCurrent =
new azurerm.dataAzurermSubscription.DataAzurermSubscription(
this,
"current",
{}
);
new azurerm.dataAzurermBlueprintPublishedVersion.DataAzurermBlueprintPublishedVersion(
this,
"test",
{
blueprint_name: "exampleBluePrint",
scope_id: dataAzurermSubscriptionCurrent.id,
version: "dev_v2.3",
}
);
Argument Reference
-
blueprintName
- (Required) The name of the Blueprint Definition -
scopeId
- (Required) The ID of the Management Group / Subscription where this Blueprint Definition is stored. -
version
- (Required) The Version name of the Published Version of the Blueprint Definition
Attributes Reference
-
id
- The ID of the Published Version -
type
- The type of the Blueprint -
targetScope
- The target scope -
displayName
- The display name of the Blueprint Published Version -
description
- The description of the Blueprint Published Version
Timeouts
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Blueprint Published Version.