---
title: AWS S3 Bucket Info
slug: homologacao-atmosphere/aws-s3-bucket-info
description: Learn how to list S3 buckets in AWS effortlessly with the `aws_s3_bucket_info` module. This document offers a comprehensive summary, complete with practical examples and the resulting values, including a detailed bucket list. Master the art of managing S3
createdAt: 2021-03-24T13:26:08.000Z
---

## Resumo

- Listar buckets S3 na AWS.

## Exemplos

```yaml
# Exemplo: Listar todos os buckets S3
- aws_s3_bucket_info:
  register: result

# Exemplo: Lista de buckets
-  debug:
     msg: "{{ result['buckets'] }}"
```



## Valores retornados

| **Chave** | **Tipo**               | **Retornado quando** | **Descrição**    |
| --------- | ---------------------- | -------------------- | ---------------- |
| buckets   | list / elements=string | Sempre               | Lista de buckets |

