Skip to content

Latest commit

 

History

History
50 lines (39 loc) · 1.26 KB

azure_plans.md

File metadata and controls

50 lines (39 loc) · 1.26 KB
page_title subcategory description
cbs_plan_azure Data Source - terraform-provider-cbs

cbs_plan_azure (Data Source)

Provides plan specific details specified by plan version parameter. The version needs to be specified in format of version prefix e.g. 6.5.x or 6.6.x and similar. Specific versions like 6.6.10 are not supported as only the latest version in a given release line is svailable in the marketplace offer for deployment.

Example Usage

data "cbs_plan_azure" "cbs_plan_66x" {
    plan_version = "6.6.x"
}

resource "cbs_array_azure" "azure_instance" {
    (...)

    plan {
        name = data.cbs_plan_azure.cbs_plan_66x.name
        product = data.cbs_plan_azure.cbs_plan_66x.product
        publisher = data.cbs_plan_azure.cbs_plan_66x.publisher
        version = data.cbs_plan_azure.cbs_plan_66x.version
    }

    lifecycle {
        ignore_changes = [
            plan,
        ]
    }
}

output "cbs_azure_available_plans" {
    value = data.cbs_plan_azure.cbs_plan_66x
}

Schema

Read-Only

  • id (String) The ID of this resource.
  • name (String)
  • product (String)
  • publisher (String)
  • version (String)