Skip to content

Commit d84bc1b

Browse files
committed
docs(readme): update s3 bucket resource to use id instead of name
1 parent aabb8e4 commit d84bc1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ module "iam" {
9595
source = "[email protected]:segmentio/terraform-aws-data-lake//modules/iam?ref=v0.2.0"
9696
9797
suffix = "prod"
98-
s3_bucket = "${aws_s3_bucket.segment_datalake_s3.name}"
98+
s3_bucket = "${aws_s3_bucket.segment_datalake_s3.id}"
9999
external_ids = "${values(local.segment_sources)}"
100100
}
101101
@@ -104,7 +104,7 @@ module "iam" {
104104
module "emr" {
105105
source = "[email protected]:segmentio/terraform-aws-data-lake//modules/emr?ref=v0.2.0"
106106
107-
s3_bucket = "${aws_s3_bucket.segment_datalake_s3.name}"
107+
s3_bucket = "${aws_s3_bucket.segment_datalake_s3.id}"
108108
subnet_id = "subnet-XXX" # Replace this with the subnet ID you want the EMR cluster to run in.
109109
110110
# LEAVE THIS AS-IS

0 commit comments

Comments
 (0)