I am expecting a simple data source that returns a boolean value and some ( optional )additional outputs like security hub arn , standards subscribed etc to check if the security hub is subscribed to a region or not. the optional outputs only come to play if the account is subscribed.
Requested Resource(s) and/or Data Source(s)
data "aws_securityhub_account" {
account_id = "123345456"
}
possible outputs
is_enabled(bool)
standards_subscribed(list of all the standards subscribed)(optional)
Potential Terraform Configuration
data "aws_securityhub_account" {
account_id = "123345456"
}
output "subscribed" {
value = data.aws_securityhub_account.is_enabled
}
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Description
I am expecting a simple data source that returns a boolean value and some ( optional )additional outputs like security hub arn , standards subscribed etc to check if the security hub is subscribed to a region or not. the optional outputs only come to play if the account is subscribed.
Requested Resource(s) and/or Data Source(s)
possible outputs
Potential Terraform Configuration
References
No response
Would you like to implement a fix?
None