-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add caller identity data source (#39)
* add caller identity data source * Update to go v1.20 * Set OS_ARCH from golang settings * update docs * update test matrix --------- Co-authored-by: Nuru <Nuru@users.noreply.github.com>
- Loading branch information
Showing
21 changed files
with
654 additions
and
407 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,3 +42,7 @@ terraform-provider-awsutils | |
|
||
docs/targets.md | ||
docs/terraform.md | ||
|
||
# nix files | ||
.envrc | ||
.direnv/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1.20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "aws_arn Data Source - terraform-provider-awsutils" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# aws_arn (Data Source) | ||
|
||
|
||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `arn` (String) | ||
|
||
### Read-Only | ||
|
||
- `account` (String) | ||
- `id` (String) The ID of this resource. | ||
- `partition` (String) | ||
- `region` (String) | ||
- `resource` (String) | ||
- `service` (String) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "awsutils_caller_identity Data Source - terraform-provider-awsutils" | ||
subcategory: "" | ||
description: |- | ||
Use this data source to get the access to the effective | ||
Account ID, User ID, ARN and EKS Role ARN in which Terraform is authorized. | ||
--- | ||
|
||
# awsutils_caller_identity (Data Source) | ||
|
||
Use this data source to get the access to the effective | ||
Account ID, User ID, ARN and EKS Role ARN in which Terraform is authorized. | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Read-Only | ||
|
||
- `account_id` (String) AWS Account ID number of the account that owns or contains the calling entity. | ||
- `arn` (String) The AWS ARN associated with the calling entity. | ||
- `eks_role_arn` (String) If the calling identity is an assumed role, this is the transformation of that assumed role ARN | ||
into something suitable for use in configuring EKS access. See | ||
[Add IAM principals to your Amazon EKS cluster](https://docs.aws.amazon.com/eks/latest/userguide/add-user-role.html#aws-auth-users). | ||
Otherwise, `null`. | ||
- `id` (String) AWS Account ID number of the account that owns or contains the calling entity. | ||
- `user_id` (String) Unique identifier of the calling entity. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.