github.com/crossplane/upjet@v1.3.0/pkg/registry/testdata/azure/r/attestation.html.markdown (about) 1 <!-- 2 SPDX-FileCopyrightText: 2023 The Crossplane Authors <https://crossplane.io> 3 4 SPDX-License-Identifier: Apache-2.0 5 --> 6 7 --- 8 9 subcategory: "Attestation" 10 layout: "azurerm" 11 page_title: "Azure Resource Manager: azurerm_attestation" 12 description: |- 13 Manages a Attestation Provider. 14 --- 15 16 # azurerm_attestation 17 18 Manages a Attestation Provider. 19 20 ## Example Usage 21 22 ```hcl 23 resource "azurerm_resource_group" "example" { 24 name = "example-resources" 25 location = "West Europe" 26 } 27 28 resource "azurerm_attestation_provider" "example" { 29 name = "example-attestationprovider" 30 resource_group_name = azurerm_resource_group.example.name 31 location = azurerm_resource_group.example.location 32 33 policy_signing_certificate_data = file("./example/cert.pem") 34 } 35 ``` 36 37 ## Arguments Reference 38 39 The following arguments are supported: 40 41 * `name` - (Required) The name which should be used for this Attestation Provider. Changing this forces a new resource to be created. 42 43 * `resource_group_name` - (Required) The name of the Resource Group where the attestation provider should exist. Changing this forces a new resource to be created. 44 45 * `location` - (Required) The Azure Region where the Attestation Provider should exist. Changing this forces a new resource to be created. 46 47 -> **NOTE:** Currently only supported in the `East US 2`, `West Central US`, and `UK South` regions. 48 49 * `policy_signing_certificate_data` - (Optional) A valid X.509 certificate (Section 4 of [RFC4648](https://tools.ietf.org/html/rfc4648)). Changing this forces a new resource to be created. 50 51 -> **NOTE:** If the `policy_signing_certificate_data` argument contains more than one valid X.509 certificate only the first certificate will be used. 52 53 * `tags` - (Optional) A mapping of tags which should be assigned to the Attestation Provider. 54 55 ## Attributes Reference 56 57 The following Attributes are exported: 58 59 * `id` - The ID of the Attestation Provider. 60 61 * `attestation_uri` - The URI of the Attestation Service. 62 63 * `trust_model` - Trust model used for the Attestation Service. 64 65 ## Timeouts 66 67 The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/docs/configuration/resources.html#timeouts) for certain actions: 68 69 * `create` - (Defaults to 30 minutes) Used when creating the Attestation Provider. 70 * `read` - (Defaults to 5 minutes) Used when retrieving the Attestation Provider. 71 * `update` - (Defaults to 30 minutes) Used when updating the Attestation Provider. 72 * `delete` - (Defaults to 30 minutes) Used when deleting the Attestation Provider. 73 74 ## Import 75 76 Attestation Providers can be imported using the `resource id`, e.g. 77 78 ```shell 79 terraform import azurerm_attestation_provider.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Attestation/attestationProviders/provider1 80 ```