Skip to content

Commit

Permalink
Merge pull request #31680 from chrsteff/f-cleanrooms-collaboration
Browse files Browse the repository at this point in the history
Add CleanRooms Collaboration Resource
  • Loading branch information
ewbankkit committed Jul 5, 2023
2 parents 3e7fea1 + 8a225de commit ab7e071
Show file tree
Hide file tree
Showing 9 changed files with 1,233 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/31680.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:new-resource
aws_cleanrooms_collaboration
```
36 changes: 36 additions & 0 deletions examples/cleanrooms/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

terraform {
required_version = ">= 0.12"
}

provider "aws" {
region = "us-east-1"
}

resource "aws_cleanrooms_collaboration" "test_collab" {
name = "terraform-example-collaboration"
creator_member_abilities = ["CAN_QUERY", "CAN_RECEIVE_RESULTS"]
creator_display_name = "Creator "
description = "I made this collaboration with terraform!"
query_log_status = "DISABLED"

data_encryption_metadata {
allow_clear_text = true
allow_duplicates = true
allow_joins_on_columns_with_different_names = true
preserve_nulls = false
}

member {
account_id = 123456789012
display_name = "Other member"
member_abilities = []
}

tags = {
Project = "Terraform"
}

}
Loading

0 comments on commit ab7e071

Please sign in to comment.