Table: aws_wellarchitected_workload_share - Query AWS Well-Architected Workload Share using SQL
The AWS Well-Architected Workload Share is a feature of the AWS Well-Architected Tool that allows you to share your workloads with other AWS accounts. This function enables collaboration with others to review and improve the design and architecture of your applications. The sharing process is secure and managed, ensuring only authorized access to your workload information.
Table Usage Guide
The aws_wellarchitected_workload_share
table in Steampipe provides you with information about shared workloads within AWS Well-Architected Tool. This table allows you, as a DevOps engineer, to query workload share-specific details, including the share ARN, workload ID, permission type, and associated metadata. You can utilize this table to gather insights on workload shares, such as the status of the workload share, the type of permission granted, and more. The schema outlines the various attributes of the workload share for you, including the share ARN, workload ID, permission type, and status.
Examples
Basic info
Explore which workload shares in your AWS Well-Architected Tool have been shared with others, their permission types, and status. This can help you manage and control access to your workloads effectively across different regions.
select workload_id, share_id, shared_with permission_type, status, regionfrom aws_wellarchitected_workload_share;
select workload_id, share_id, shared_with, permission_type, status, regionfrom aws_wellarchitected_workload_share;
List shared workloads where invitations are pending
Determine the areas in which workload shares in AWS Well-Architected Tool are still pending approval. This can be useful for managing workload collaborations and ensuring timely access for all involved parties.
select workload_id, share_id, shared_with permission_type, status, regionfrom aws_wellarchitected_workload_sharewhere status = 'PENDING';
select workload_id, share_id, shared_with, permission_type, status, regionfrom aws_wellarchitected_workload_sharewhere status = 'PENDING';
List shared workloads having CONTRIBUTOR permissions
Identify shared workloads where the user has been granted 'Contributor' permissions. This can be useful in managing access rights and understanding the distribution of workload responsibilities.
select workload_id, share_id, shared_with permission_type, status, regionfrom aws_wellarchitected_workload_sharewhere permission_type = 'CONTRIBUTOR';
select workload_id, share_id, shared_with, permission_type, status, regionfrom aws_wellarchitected_workload_sharewhere permission_type = 'CONTRIBUTOR';
List shared workloads having READONLY permissions
Identify shared workloads that have been granted 'READONLY' permissions. This allows you to understand which external entities have limited access to your workloads, helping to maintain security and control over your AWS environment.
select workload_id, share_id, shared_with permission_type, status, regionfrom aws_wellarchitected_workload_sharewhere permission_type = 'READONLY';
select workload_id, share_id, shared_with, permission_type, status, regionfrom aws_wellarchitected_workload_sharewhere permission_type = 'READONLY';
Schema for aws_wellarchitected_workload_share
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form. | |
account_id | text | =, !=, ~~, ~~*, !~~, !~~* | The AWS Account ID in which the resource is located. |
akas | jsonb | Array of globally unique identifier strings (also known as) for the resource. | |
partition | text | The AWS partition in which the resource is located (aws, aws-cn, or aws-us-gov). | |
permission_type | text | Permission granted on a workload share. | |
region | text | The AWS Region in which the resource is located. | |
share_id | text | The ID associated with the workload share. | |
shared_with | text | = | The Amazon Web Services account ID, IAM role, organization ID, or organizational unit (OU) ID with which the workload is shared. |
sp_connection_name | text | =, !=, ~~, ~~*, !~~, !~~* | Steampipe connection name. |
sp_ctx | jsonb | Steampipe context in JSON form. | |
status | text | = | The status of a workload share. |
status_message | text | Optional message to compliment the Status field. | |
title | text | Title of the resource. | |
workload_id | text | = | The ID assigned to the workload. |
Export
This table is available as a standalone Exporter CLI. Steampipe exporters are stand-alone binaries that allow you to extract data using Steampipe plugins without a database.
You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_export_installer.sh
script:
/bin/sh -c "$(curl -fsSL https://steampipe.io/install/export.sh)" -- aws
You can pass the configuration to the command with the --config
argument:
steampipe_export_aws --config '<your_config>' aws_wellarchitected_workload_share