diff --git a/docs/resources/datashare_privilege.md b/docs/resources/datashare_privilege.md index feafd89..7630dfc 100644 --- a/docs/resources/datashare_privilege.md +++ b/docs/resources/datashare_privilege.md @@ -37,7 +37,7 @@ resource "redshift_datashare_privilege" "within_account" { # Example: cross-account datashare permission. # Note: you will also need to authorize the cross-account datashare # in the AWS console after creating this resource -resource "redshift_datashare_privilege" "within_account" { +resource "redshift_datashare_privilege" "cross_account" { name = redshift_datashare.share.name # Required account = "123456789012" # Required } diff --git a/examples/resources/redshift_datashare_privilege/resource.tf b/examples/resources/redshift_datashare_privilege/resource.tf index a94b177..4942dbd 100644 --- a/examples/resources/redshift_datashare_privilege/resource.tf +++ b/examples/resources/redshift_datashare_privilege/resource.tf @@ -11,7 +11,7 @@ resource "redshift_datashare_privilege" "within_account" { # Example: cross-account datashare permission. # Note: you will also need to authorize the cross-account datashare # in the AWS console after creating this resource -resource "redshift_datashare_privilege" "within_account" { +resource "redshift_datashare_privilege" "cross_account" { name = redshift_datashare.share.name # Required account = "123456789012" # Required }