Skip to content
Start here

Recipients

resource cloudflare_share_recipient

required Expand Collapse
share_id: String

Share identifier tag.

Deprecatedaccount_id: String

This field has been renamed to recipient_account_id. Both names are accepted during the deprecation period.

Deprecated alias for recipient_account_id. Use recipient_account_id instead. The body field collided with the URL path parameter of the same name, which prevented SDK generators from distinguishing the source account (in the URL) from the recipient account (in the body). Both names will continue to be accepted until 2027-05-26 (see x-sunset).

optional Expand Collapse
organization_id?: String

Organization identifier.

recipient_account_id?: String

The account that will receive the share.

computed Expand Collapse
id: String

Share Recipient identifier tag.

association_status: String

Share Recipient association status.

created: Time

When the share was created.

modified: Time

When the share was modified.

resources: List[Attributes]
error: String

Share Recipient error message.

resource_id: String

Share Resource identifier.

resource_version: Int64

Resource Version.

terminal: Bool

Whether the error is terminal or will be continually retried.

cloudflare_share_recipient

resource "cloudflare_share_recipient" "example_share_recipient" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  share_id = "3fd85f74b32742f1bff64a85009dda07"
  organization_id = "023e105f4ecef8ad9ca31a8372d0c353"
  recipient_account_id = "023e105f4ecef8ad9ca31a8372d0c353"
}

data cloudflare_share_recipient

required Expand Collapse
recipient_id: String

Share Recipient identifier tag.

account_id: String

Account identifier.

share_id: String

Share identifier tag.

optional Expand Collapse
include_resources?: Bool

Include resources in the response.

computed Expand Collapse
id: String

Share Recipient identifier tag.

association_status: String

Share Recipient association status.

created: Time

When the share was created.

modified: Time

When the share was modified.

resources: List[Attributes]
error: String

Share Recipient error message.

resource_id: String

Share Resource identifier.

resource_version: Int64

Resource Version.

terminal: Bool

Whether the error is terminal or will be continually retried.

cloudflare_share_recipient

data "cloudflare_share_recipient" "example_share_recipient" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  share_id = "3fd85f74b32742f1bff64a85009dda07"
  recipient_id = "3fd85f74b32742f1bff64a85009dda07"
  include_resources = true
}

data cloudflare_share_recipients

required Expand Collapse
account_id: String

Account identifier.

share_id: String

Share identifier tag.

optional Expand Collapse
include_resources?: Bool

Include resources in the response.

max_items?: Int64

Max items to fetch, default: 1000

computed Expand Collapse
result: List[Attributes]

The items returned by the data source

id: String

Share Recipient identifier tag.

account_id: String

Account identifier.

association_status: String

Share Recipient association status.

created: Time

When the share was created.

modified: Time

When the share was modified.

resources: List[Attributes]
error: String

Share Recipient error message.

resource_id: String

Share Resource identifier.

resource_version: Int64

Resource Version.

terminal: Bool

Whether the error is terminal or will be continually retried.

cloudflare_share_recipients

data "cloudflare_share_recipients" "example_share_recipients" {
  account_id = "023e105f4ecef8ad9ca31a8372d0c353"
  share_id = "3fd85f74b32742f1bff64a85009dda07"
  include_resources = true
}