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.61k stars 9k forks source link

[Enhancement]: LakeFormation - Support Cross Account Version Settings #35773

Open breathingdust opened 4 months ago

breathingdust commented 4 months ago

Description

Setting cross account version settings require the parameter attribute of aws_lakeformation_data_lake_settings to be set and is currently not supported. See example from: https://docs.aws.amazon.com/lake-formation/latest/dg/optimize-ram.html

aws lakeformation put-data-lake-settings --region us-east-1 --data-lake-settings file://settings
{
    "DataLakeAdmins": [
        {
            "DataLakePrincipalIdentifier": "arn:aws:iam::111122223333:user/test"
        }
    ],
    "CreateDatabaseDefaultPermissions": [],
    "CreateTableDefaultPermissions": [],
    "Parameters": {
        "CROSS_ACCOUNT_VERSION": "3"
    }
}  

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

Potential Terraform Configuration

resource "aws_lakeformation_data_lake_settings" "example" {
 ...

  parameters {
    "CROSS_ACCOUNT_VERSION" = "3"
  }
}

References

Would you like to implement a fix?

None

github-actions[bot] commented 4 months ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

mlnrt commented 4 months ago

This is definitely a must have