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.64k stars 9.01k forks source link

[New resources]: AWS Control Tower introduces APIs to register Organizational Units #35849

Open EreminAnton opened 5 months ago

EreminAnton commented 5 months ago

Description

If i understand correctly, this functionality exists in the Go SDK v2. New resources for configuring control tower via terraform.

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

EnableBaseline/UpdateEnabledBaseline/DisableBaseline: Take action on a baseline for an OU ResetEnabledBaseline: Remediate resource drift on an OU with an enabled baseline (including nested/mandatory controls drift) aws_control_tower_baseline GetEnabledBaseline/ListEnabledBaselines: Discover configurations for your enabled baselines GetBaselineOperation: View the status of a particular baseline operation data.aws_control_tower_baseline.this

GetBaseline/ListBaselines: Discover content of AWS Control Tower managed baselines data.aws_control_tower_list_baselines.this

Potential Terraform Configuration

resource "aws_control_tower_baseline" {
  target_ou_id = ""
  baselineIdentifier = ""
  baselineVersion = ""
  tags = {}
}

References

https://aws.amazon.com/about-aws/whats-new/2024/02/aws-control-tower-apis-register-organizational-units/

Would you like to implement a fix?

No

github-actions[bot] commented 5 months ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue