Azure Attestation Attestation
This page shows how to write Terraform for Attestation Attestation and write them securely.
azurerm_attestation (Terraform)
The Attestation in Attestation can be configured in Terraform with the resource name azurerm_attestation. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
The following arguments are supported:
name- (Required) The name which should be used for this Attestation Provider. Changing this forces a new resource to be created.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.location- (Required) The Azure Region where the Attestation Provider should exist. Changing this forces a new resource to be created.
-> NOTE: Currently only supported in the East US 2, West Central US, and UK South regions.
policy_signing_certificate_data- (Optional) A valid X.509 certificate (Section 4 of RFC4648). Changing this forces a new resource to be created.
-> NOTE: If the policy_signing_certificate_data argument contains more than one valid X.509 certificate only the first certificate will be used.
tags- (Optional) A mapping of tags which should be assigned to the Attestation Provider.
The following Attributes are exported:
id- The ID of the Attestation Provider.attestation_uri- The URI of the Attestation Service.trust_model- Trust model used for the Attestation Service.
Explanation in Terraform Registry
Manages a Attestation Provider.
Azure Resource Manager Example
Azure Resource Manager code does not have the related resource.