You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add secure-trusted-cloud-account datasource
* add provider param
* use non-keyword
* rename endpoints and functions to cloudIdentity
* rename missed function
* use identity instead of arn to be cloud agnostic, add docs
* fix title
Retrieves information about the Sysdig Secure Trusted Cloud Identity
7
+
---
8
+
9
+
# sysdig\_secure\_trusted_cloud_identity
10
+
11
+
Retrieves information about the Sysdig Secure Trusted Cloud Identity
12
+
13
+
`~> **Note:** Sysdig Terraform Provider is under rapid development at this point. If you experience any issue or discrepancy while using it, please make sure you have the latest version. If the issue persists, or you have a Feature Request to support an additional set of resources, please open a [new issue](https://github.com/sysdiglabs/terraform-provider-sysdig/issues/new) in the GitHub repository.`
14
+
15
+
## Example usage
16
+
17
+
```hcl
18
+
data "sysdig_secure_trusted_cloud_identity" "trusted_identity" {
19
+
cloud_provider = "aws"
20
+
}
21
+
```
22
+
23
+
## Argument Reference
24
+
25
+
*`cloud_provider` - (Required) The cloud provider in which the account exists. Currently supported providers are `aws`, `gcp` and `azure`
26
+
27
+
28
+
## Attributes Reference
29
+
30
+
*`identity` - Sysdig's identity (User/Role/etc) that should be used to create a trust relationship allowing Sysdig access to your cloud account.
`~> **Note:** Sysdig Terraform Provider is under rapid development at this point. If you experience any issue or discrepancy while using it, please make sure you have the latest version. If the issue persists, or you have a Feature Request to support an additional set of resources, please open a [new issue](https://github.com/sysdiglabs/terraform-provider-sysdig/issues/new) in the GitHub repository.`
14
+
15
+
## Example usage
16
+
17
+
```hcl
18
+
resource "sysdig_secure_cloud_account" "sample" {
19
+
account_id = "123456789012"
20
+
cloud_provider = "aws"
21
+
alias = "prod"
22
+
role_enabled = "false"
23
+
}
24
+
```
25
+
26
+
## Argument Reference
27
+
28
+
*`account_id` - (Required) The unique identifier of the cloud account. e.g. for AWS: `123456789012`,
29
+
30
+
*`cloud_provider` - (Required) The cloud provider in which the account exists. Currently supported providers are `aws`, `gcp` and `azure`
31
+
32
+
*`alias` - (Optional) A human friendly alias for `account_id`.
33
+
34
+
*`role_enabled` - (Optional) Whether or not a role with the name `SysdigCloud` is provisioned withing this account, that Sysdig has permission to AssumeRole in order to run Benchmarks. Default: `false`.
35
+
36
+
## Import
37
+
38
+
Secure Teams can be imported using the `account_id`, e.g.
0 commit comments