---
title: "Discussion on \"How To Manage AWS Security Hub in AWS Organizations Using Terraform\" | Hashnode"
description: "Discussion on \"How To Manage AWS Security Hub in AWS Organizations Using Terraform\". Learn how to manage multiple accounts in AWS Security Hub using the central configuration feature with Terraform."
url: "https://hashnode.com/posts/how-to-manage-aws-security-hub-in-aws-organizations-using-terraform/663db026a2bf6fe340f3118b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How To Manage AWS Security Hub in AWS Organizations Using Terraform](https://blog.avangards.io/how-to-manage-aws-security-hub-in-aws-organizations-using-terraform?utm_source=hashnode&utm_medium=feed)

Learn how to manage multiple accounts in AWS Security Hub using the central configuration feature with Terraform.

May 10, 2024 · 8 min read · blog.avangards.io  
Updated Jun 9, 2024  
Read the article

-   [#aws](https://hashnode.com/tag/aws)
-   [#terraform](https://hashnode.com/tag/terraform)
-   [#security](https://hashnode.com/tag/security)

## Written by

[Anthony Wat](https://hashnode.com/@acwwat)

@acwwat

  
[View profile](https://hashnode.com/@acwwat)

AWS Architect

Anthony Wat is a seasoned cloud and DevOps architect with deep expertise in software development, modernization, and automation. As a Principal Architect at Globalli, he specializes in AWS solutions, AI-driven development, and at-scale operations.

## Responses 2

Markdown supported · ⌘↵ to post

[Alden Quimby](https://hashnode.com/@alden)

[Aug 26, 2024](https://hashnode.com/posts/how-to-manage-aws-security-hub-in-aws-organizations-using-terraform/663db026a2bf6fe340f3118b/comment/66cd13e99fa802849bd955dc)

[Anthony Wat](https://hashnode.com/@acwwat) thank you for this series! After completing the Security Hub steps, I'm running into issues because AWS Config is not setup. Do you have any resources on how to configure that with terraform for all regions and all accounts under an organization?

[Anthony Wat](https://hashnode.com/@acwwat)

[Aug 28, 2024](https://hashnode.com/posts/how-to-manage-aws-security-hub-in-aws-organizations-using-terraform/663db026a2bf6fe340f3118b/comment/66cd13e99fa802849bd955dc#reply-66ce75da2f1dbfaeb9d5625a)

Hi [Alden Quimby](https://hashnode.com/@alden), thanks for your message. If you have an organization that wasn't created as part of Control Tower, you can follow the Organization Based Aggregation example in [registry.terraform.io/providers/hashicorp/aws/lat…](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/config_configuration_aggregator#organization-based-aggregation) to set it up. The AWS blog post [aws.amazon.com/blogs/mt/aws-organizations-aws-con…](https://aws.amazon.com/blogs/mt/aws-organizations-aws-config-and-terraform/) also provides more information on this topic. Hope this helps.

[Roman Šoltész](https://hashnode.com/@romanS27)

[Aug 18, 2024](https://hashnode.com/posts/how-to-manage-aws-security-hub-in-aws-organizations-using-terraform/663db026a2bf6fe340f3118b/comment/66c24a01dffb09fd0cd0ff86)

Very useful series. Thank you for sharing it!
