Skip to content

azurermLogicAppIntegrationAccountCertificate

Manages a Logic App Integration Account Certificate.

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 azurermResourceGroupExample = new azurerm.resourceGroup.ResourceGroup(
  this,
  "example",
  {
    location: "West Europe",
    name: "example-resources",
  }
);
const azurermLogicAppIntegrationAccountExample =
  new azurerm.logicAppIntegrationAccount.LogicAppIntegrationAccount(
    this,
    "example_1",
    {
      location: azurermResourceGroupExample.location,
      name: "example-ia",
      resource_group_name: azurermResourceGroupExample.name,
      sku_name: "Standard",
    }
  );
/*This allows the Terraform resource name to match the original name. You can remove the call if you don't need them to match.*/
azurermLogicAppIntegrationAccountExample.overrideLogicalId("example");
const azurermLogicAppIntegrationAccountCertificateExample =
  new azurerm.logicAppIntegrationAccountCertificate.LogicAppIntegrationAccountCertificate(
    this,
    "example_2",
    {
      integration_account_name: azurermLogicAppIntegrationAccountExample.name,
      name: "example-iac",
      public_certificate:
        "MIIDbzCCAlegAwIBAgIJAIzjRD36sIbbMA0GCSqGSIb3DQEBCwUAME0xCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApTb21lLVN0YXRlMRIwEAYDVQQKDAl0ZXJyYWZvcm0xFTATBgNVBAMMDHRlcnJhZm9ybS5pbzAgFw0xNzA0MjEyMDA1MjdaGA8yMTE3MDMyODIwMDUyN1owTTELMAkGA1UEBhMCVVMxEzARBgNVBAgMClNvbWUtU3RhdGUxEjAQBgNVBAoMCXRlcnJhZm9ybTEVMBMGA1UEAwwMdGVycmFmb3JtLmlvMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3L9L5szT4+FLykTFNyyPjy/k3BQTYAfRQzP2dhnsuUKm3cdPC0NyZ+wEXIUGhoDO2YG6EYChOl8fsDqDOjloSUGKqYw++nlpHIuUgJx8IxxG2XkALCjFU7EmF+w7kn76d0ezpEIYxnLP+KG2DVornoEt1aLhv1MLmpgEZZPhDbMSLhSYWeTVRMayXLwqtfgnDumQSB+8d/1JuJqrSI4pD12JozVThzb6hsjfb6RMX4epPmrGn0PbTPEEA6awmsxBCXB0s13nNQt/O0hLM2agwvAyozilQV+s616Ckgk6DJoUkqZhDy7vPYMIRSr98fBws6zkrV6tTLjmD8xAvobePQIDAQABo1AwTjAdBgNVHQ4EFgQUXIqO421zMMmbcRRX9wctZFCQuPIwHwYDVR0jBBgwFoAUXIqO421zMMmbcRRX9wctZFCQuPIwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAr82NeT3BYJOKLlUL6Om5LjUF66ewcJjG9ltdvyQwVneMcq7t5UAPxgChzqNRVk4da8PzkXpjBJyWezHupdJNX3XqeUk2kSxqQ6/gmhqvfI3y7djrwoO6jvMEY26WqtkTNORWDP3THJJVimC3zV+KMU5UBVrEzhOVhHSU709lBP75o0BBn3xGsPqSq9k8IotIFfyAc6a+XP3+ZMpvh7wqAUml7vWa5wlcXExCx39h1balfDSLGNC4swWPCp9AMnQR0p+vMay9hNP1Eh+9QYUai14d5KS3cFV+KxE1cJR5HD/iLltnnOEbpMsB0eVOZWkFvE7Y5lW0oVSAfin5TwTJMQ==",
      resource_group_name: azurermResourceGroupExample.name,
    }
  );
/*This allows the Terraform resource name to match the original name. You can remove the call if you don't need them to match.*/
azurermLogicAppIntegrationAccountCertificateExample.overrideLogicalId(
  "example"
);

Arguments Reference

The following arguments are supported:

  • name - (Required) The name which should be used for this Logic App Integration Account Certificate. Changing this forces a new Logic App Integration Account Certificate to be created.

  • resourceGroupName - (Required) The name of the Resource Group where the Logic App Integration Account Certificate should exist. Changing this forces a new Logic App Integration Account Certificate to be created.

  • integrationAccountName - (Required) The name of the Logic App Integration Account. Changing this forces a new Logic App Integration Account Certificate to be created.

  • keyVaultKey - (Optional) A keyVaultKey block as documented below.

  • metadata - (Optional) A JSON mapping of any Metadata for this Logic App Integration Account Certificate.

  • publicCertificate - (Optional) The public certificate for the Logic App Integration Account Certificate.


A keyVaultKey block exports the following:

  • keyName - (Required) The name of Key Vault Key.

  • keyVaultId - (Required) The ID of the Key Vault.

  • keyVersion - (Optional) The version of Key Vault Key.

Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:

  • id - The ID of the Logic App Integration Account Certificate.

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • create - (Defaults to 30 minutes) Used when creating the Logic App Integration Account Certificate.
  • read - (Defaults to 5 minutes) Used when retrieving the Logic App Integration Account Certificate.
  • update - (Defaults to 30 minutes) Used when updating the Logic App Integration Account Certificate.
  • delete - (Defaults to 30 minutes) Used when deleting the Logic App Integration Account Certificate.

Import

Logic App Integration Account Certificates can be imported using the resourceId, e.g.

terraform import azurerm_logic_app_integration_account_certificate.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Logic/integrationAccounts/account1/certificates/certificate1