Skip to content

Latest commit

 

History

History
69 lines (52 loc) · 3.18 KB

confluent_provider_integration.md

File metadata and controls

69 lines (52 loc) · 3.18 KB
page_title subcategory description
confluent_provider_integration Data Source - terraform-provider-confluent

confluent_provider_integration Data Source

General Availability

confluent_provider_integration describes a Confluent Provider Integration data source.

Example Usage

data "confluent_provider_integration" "example_using_id" {
  id = "cspi-4xg0q"
  environment {
    id = "env-xyz456"
  }
}

output "example_using_id" {
  value = data.confluent_provider_integration.example_using_id
}

data "confluent_provider_integration" "example_using_name" {
  display_name = "provider_integration_main"
  environment {
    id = "env-xyz456"
  }
}

output "example_using_name" {
  value = data.confluent_provider_integration.example_using_name
}

Argument Reference

The following arguments are supported:

  • id - (Optional String) The ID of the Provider Integration, for example, cspi-4xg0q.
  • display_name - (Optional String) A human-readable name for the Provider Integration.
  • environment (Required Configuration Block) supports the following:
    • id - (Required String) The ID of the Environment that the Provider Integration belongs to, for example, env-xyz456.

-> Note: Exactly one from the id and display_name attributes must be specified.

Attributes Reference

In addition to the preceding arguments, the following attributes are exported:

  • id - (Required String) The ID of the Provider Integration, for example, cspi-4xg0q.
  • display_name - (Required String) A human-readable name for the Provider Integration.
  • environment - (Required Configuration Block) supports the following:
    • id - (Required String) The ID of the Environment that the Provider Integration belongs to, for example, env-abc123.
  • aws - (Required Configuration Block) The AWS-specific Provider Integration config details. It supports the following:
    • iam_role_arn - (Required String) The IAM role ARN used in Confluent Cloud internally, bundled with customer_role_arn.
    • external_id - (Required String) Unique external ID that Confluent Cloud uses when it assumes the IAM role in your Amazon Web Services (AWS) account.
    • customer_role_arn - (Required String) Amazon Resource Name (ARN) that identifies the AWS Identity and Access Management (IAM) role that Confluent Cloud assumes when it accesses resources in your AWS account, and must be unique in the same environment.
  • usages - (Required List of Strings) List of resource CRNs where this provider integration is being used.

Getting Started

The following end-to-end examples might help to get started with confluent_provider_integration data source: