Skip to content

Commit

Permalink
docs(veracc): trust provider att rsrc
Browse files Browse the repository at this point in the history
  • Loading branch information
GlennChia committed Oct 3, 2023
1 parent a40c78e commit 4ea720c
Showing 1 changed file with 62 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
subcategory: "Verified Access"
layout: "aws"
page_title: "AWS: aws_verifiedaccess_trust_provider_attachment"
description: |-
Terraform resource for managing a Verified Access Trust Provider Attachment.
---

# Resource: aws_verifiedaccess_trust_provider_attachment

Terraform resource for managing a Verified Access Trust Provider Attachment.

## Example Usage

```terraform
resource "aws_verifiedaccess_instance" "example" {}
resource "aws_verifiedaccess_trust_provider" "example" {
device_trust_provider_type = "jamf"
policy_reference_name = "example"
trust_provider_type = "device"
device_options {
tenant_id = "example"
}
}
resource "aws_verifiedaccess_trust_provider_attachment" "example" {
instance_id = aws_verifiedaccess_instance.example.id
trust_provider_id = aws_verifiedaccess_trust_provider.example.id
}
```

## Argument Reference

The following arguments are required:

* `instance_id` - (Required) The ID of the Verified Access instance to attach the Trust Provider to.
* `trust_provider_id` - (Required) The ID of the Verified Access trust provider.

## Attribute Reference

This resource exports the following attributes in addition to the arguments above:

* `id` - A combination of attributes, separated by a `/` to create a unique id: `instance_id`,`trust_provider_id`

## Import

In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Verified Access Trust Provider Attachments using the `instance_id` and `trust_provider_id` separated by a forward slash (`/`). For example:

```terraform
import {
to = aws_verifiedaccess_trust_provider_attachment.example
id = "vai-1234567890abcdef0/vatp-8012925589"
}
```

Using `terraform import`, import Verified Access Trust Provider Attachments using the `instance_id` and `trust_provider_id` separated by a forward slash (`/`). For example:

```console
% terraform import aws_verifiedaccess_trust_provider_attachment.example vai-1234567890abcdef0/vatp-8012925589
```

0 comments on commit 4ea720c

Please sign in to comment.