hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.87k stars 9.21k forks source link

[Enhancement]: Security Hub finding aggregator allow a linking_mode of 'NO_REGIONS' #39390

Open jc-2017 opened 2 months ago

jc-2017 commented 2 months ago

Description

The Security Hub finding aggregator resource should allow a linking_mode of 'NO_REGIONS'.

This will align the aws_securityhub_finding_aggregator resource with the AWS API.

Affected Resource(s) and/or Data Source(s)

aws_securityhub_finding_aggregator

Potential Terraform Configuration

resource "aws_securityhub_account" "example" {}

resource "aws_securityhub_finding_aggregator" "example" {
  linking_mode = "NO_REGIONS"

  depends_on = [aws_securityhub_account.example]
}

References

AWS Security Hub CreateFindingAggregator API document

Would you like to implement a fix?

None

github-actions[bot] commented 2 months ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

stefanfreitag commented 4 weeks ago

Hi @jc-2017,

thanks for reporting the issue. Let me have a closer look into it.