This repository was archived by the owner on Jan 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
examples/resources/redshift_datashare_privilege Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -30,16 +30,16 @@ resource "redshift_datashare" "share" {
30
30
31
31
# Example: datashare permission in same account
32
32
resource "redshift_datashare_privilege" "within_account" {
33
- name = redshift_datashare.share.name # Required
34
- namespace = "d34dbe3f-d34d-b33f-d3ad-b33fd34db33f" # Required
33
+ share_name = redshift_datashare.share.name # Required
34
+ namespace = "d34dbe3f-d34d-b33f-d3ad-b33fd34db33f" # Required
35
35
}
36
36
37
37
# Example: cross-account datashare permission.
38
38
# Note: you will also need to authorize the cross-account datashare
39
39
# in the AWS console after creating this resource
40
- resource "redshift_datashare_privilege" "within_account " {
41
- name = redshift_datashare.share.name # Required
42
- account = "123456789012" # Required
40
+ resource "redshift_datashare_privilege" "cross_account " {
41
+ share_name = redshift_datashare.share.name # Required
42
+ account = "123456789012" # Required
43
43
}
44
44
```
45
45
Original file line number Diff line number Diff line change @@ -4,14 +4,14 @@ resource "redshift_datashare" "share" {
4
4
5
5
# Example: datashare permission in same account
6
6
resource "redshift_datashare_privilege" "within_account" {
7
- name = redshift_datashare. share . name # Required
8
- namespace = " d34dbe3f-d34d-b33f-d3ad-b33fd34db33f" # Required
7
+ share_name = redshift_datashare. share . name # Required
8
+ namespace = " d34dbe3f-d34d-b33f-d3ad-b33fd34db33f" # Required
9
9
}
10
10
11
11
# Example: cross-account datashare permission.
12
12
# Note: you will also need to authorize the cross-account datashare
13
13
# in the AWS console after creating this resource
14
- resource "redshift_datashare_privilege" "within_account " {
15
- name = redshift_datashare. share . name # Required
16
- account = " 123456789012" # Required
14
+ resource "redshift_datashare_privilege" "cross_account " {
15
+ share_name = redshift_datashare. share . name # Required
16
+ account = " 123456789012" # Required
17
17
}
You can’t perform that action at this time.
0 commit comments