Skip to content

0.3.4

Compare
Choose a tag to compare
@aknysh aknysh released this 02 Nov 14:30

what

Changing the way bucket_name is populated in locals. Deriving the name from the s3 bucket resource attribute, instead of the s3 bucket argument.

why

S3 bucket attributes only exist after a resource has been made, currently S3 bucket resource arguments are used to populated a local. This change will make sure that the local.bucket falls back to var.origin_bucket. Without this change the datasource aws_s3_bucket.selected will try to use a bucket name which has not been created yet.

references